#4A338F

Closest named color: Dark Slate Blue (#483D8B). oklch(40.2% 0.145 289.8), rgb(74, 51, 143).

Aa

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

About this color

#4A338F is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.145 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.025 away. White text reads best on it, at 9.71:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.145)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.16:1
White text9.71:1

Values

HEX#4A338F
RGBrgb(74, 51, 143)
HSLhsl(255, 47%, 38%)
OKLCHoklch(40.2% 0.145 289.8)

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 #4A338F 9.71:1 AAA Lc -96.3 Preferred for body text
Black text on #4A338F 2.16:1 Fails Lc 11.9 Not readable
#4A338F text on white 9.71:1 AAA Lc 92.1 Preferred for body text
#4A338F text on black 2.16:1 Fails Lc -10.3 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 900.

  1. Step 50

    50

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FE

    oklch(93.6% 0.031 289.8)

  3. Step 200

    200

    #D8D3FF

    oklch(88.5% 0.06 290.3)

  4. Step 300

    300

    #BFB6FF

    oklch(81% 0.102 289.6)

  5. Step 400

    400

    #A08CFF

    oklch(70.8% 0.164 289.5)

  6. Step 500

    500

    #8C68FF

    oklch(63.1% 0.214 289.8)

  7. Step 600

    600

    #7945F3

    oklch(55.6% 0.242 289.8)

  8. Step 700

    700

    #6634D3

    oklch(49% 0.224 289.8)

  9. Step 800

    800

    #532EAB

    oklch(42.8% 0.186 289.7)

  10. Step 900

    900 (this color)

    #4A338F

    oklch(40.2% 0.145 289.8)

  11. Step 950

    950

    #271B4F

    oklch(27% 0.091 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#4A338F 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)#0046920.082
Deuteranopia (no green cones)#00428D0.081
Tritanopia (no blue cones)#34495C0.118
Achromatopsia (no color)#4444440.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A338F

    #4A338F

    oklch(40.2% 0.145 289.8)

  • #4C4C00

    #4C4C00

    oklch(40.3% 0.088 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A338F

    #4A338F

    oklch(40.2% 0.145 289.8)

  • #0E4394

    #0E4394

    oklch(40.2% 0.144 259.6)

  • #682577

    #682577

    oklch(40.1% 0.144 319.8)

Open the analogous palette in the generator

Split complementary

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

  • #4A338F

    #4A338F

    oklch(40.2% 0.145 289.8)

  • #5F4200

    #5F4200

    oklch(40.1% 0.083 80.2)

  • #175700

    #175700

    oklch(40% 0.128 139.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A338F

    #4A338F

    oklch(40.2% 0.145 289.8)

  • #743300

    #743300

    oklch(40.3% 0.107 50)

  • #005641

    #005641

    oklch(40.3% 0.08 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A338F

    #4A338F

    oklch(40.2% 0.145 289.8)

  • #851526

    #851526

    oklch(40.2% 0.145 19.5)

  • #4C4C00

    #4C4C00

    oklch(40.3% 0.088 109.8)

  • #005356

    #005356

    oklch(40.2% 0.068 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4A338F 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.