#4A0C3E

Closest named color: Deep Violet (#490648). oklch(28.9% 0.109 337.2), rgb(74, 12, 62).

Aa

White text reads best on this color (14.85:1).

About this color

#4A0C3E is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.109 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.022 away. White text reads best on it, at 14.85:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.109)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.41:1
White text14.85:1

Values

HEX#4A0C3E
RGBrgb(74, 12, 62)
HSLhsl(312, 72%, 17%)
OKLCHoklch(28.9% 0.109 337.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #4A0C3E 14.85:1 AAA Lc -103.9 Preferred for body text
Black text on #4A0C3E 1.41:1 Fails Lc 0.0 Not readable
#4A0C3E text on white 14.85:1 AAA Lc 100.9 Preferred for body text
#4A0C3E text on black 1.41:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #FEF1FA

    oklch(97.1% 0.018 336.5)

  2. Step 100

    100

    #FBE1F3

    oklch(93.6% 0.037 336.9)

  3. Step 200

    200

    #F9C8EA

    oklch(88.6% 0.071 337.6)

  4. Step 300

    300

    #F69FDF

    oklch(80.9% 0.13 337)

  5. Step 400

    400

    #ED63CE

    oklch(70.7% 0.207 337.2)

  6. Step 500

    500

    #E31EC1

    oklch(63.1% 0.264 337.2)

  7. Step 600

    600

    #C300A5

    oklch(55.6% 0.245 337.2)

  8. Step 700

    700

    #A5008B

    oklch(49.1% 0.216 337.3)

  9. Step 800

    800

    #880073

    oklch(42.7% 0.188 337)

  10. Step 900

    900

    #730060

    oklch(37.8% 0.166 337.5)

  11. Step 950

    950 (this color)

    #4A0C3E

    oklch(28.9% 0.109 337.2)

Export this scale for Tailwind in the Tailwind colors tool

#4A0C3E with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0E213F0.120
Deuteranopia (no green cones)#242B3D0.102
Tritanopia (no blue cones)#4E10240.052
Achromatopsia (no color)#2727270.110

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #4A0C3E

    #4A0C3E

    oklch(28.9% 0.109 337.2)

  • #00351D

    #00351D

    oklch(29% 0.069 157.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A0C3E

    #4A0C3E

    oklch(28.9% 0.109 337.2)

  • #3A1654

    #3A1654

    oklch(29% 0.109 307.5)

  • #530521

    #530521

    oklch(28.8% 0.109 7.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #4A0C3E

    #4A0C3E

    oklch(28.9% 0.109 337.2)

  • #213100

    #213100

    oklch(28.8% 0.074 126.8)

  • #00332F

    #00332F

    oklch(28.9% 0.051 186.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A0C3E

    #4A0C3E

    oklch(28.9% 0.109 337.2)

  • #332B00

    #332B00

    oklch(28.9% 0.06 98.2)

  • #00313C

    #00313C

    oklch(28.9% 0.052 217.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A0C3E

    #4A0C3E

    oklch(28.9% 0.109 337.2)

  • #402400

    #402400

    oklch(29% 0.064 67.3)

  • #00351D

    #00351D

    oklch(29% 0.069 157.3)

  • #002D4E

    #002D4E

    oklch(28.9% 0.076 246.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #4A0C3E, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #4A0C3E in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.