#4138A0

Closest named color: Blueberry (#464196). oklch(41.6% 0.162 280.6), rgb(65, 56, 160).

Aa

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

About this color

#4138A0 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.162 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.030 away. White text reads best on it, at 9.13:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.162)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.29:1
White text9.13:1

Values

HEX#4138A0
RGBrgb(65, 56, 160)
HSLhsl(245, 48%, 42%)
OKLCHoklch(41.6% 0.162 280.6)

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 #4138A0 9.13:1 AAA Lc -95.0 Preferred for body text
Black text on #4138A0 2.29:1 Fails Lc 13.4 Not readable
#4138A0 text on white 9.13:1 AAA Lc 90.5 Preferred for body text
#4138A0 text on black 2.29:1 Fails Lc -11.8 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 800.

  1. Step 50

    50

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FC

    oklch(88.5% 0.052 280.5)

  4. Step 300

    300

    #B5BAFD

    oklch(80.9% 0.095 280.7)

  5. Step 400

    400

    #9093FC

    oklch(70.6% 0.152 280.5)

  6. Step 500

    500

    #7874FA

    oklch(63.1% 0.194 280.6)

  7. Step 600

    600

    #6358E9

    oklch(55.6% 0.211 280.4)

  8. Step 700

    700

    #5347CA

    oklch(49.1% 0.195 280.6)

  9. Step 800

    800 (this color)

    #4138A0

    oklch(41.6% 0.162 280.6)

  10. Step 900

    900

    #383482

    oklch(37.6% 0.127 280.7)

  11. Step 950

    950

    #201F4C

    oklch(26.9% 0.081 280.5)

Export this scale for Tailwind in the Tailwind colors tool

#4138A0 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)#004CA30.066
Deuteranopia (no green cones)#00449E0.061
Tritanopia (no blue cones)#0252670.138
Achromatopsia (no color)#4848480.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #4138A0

    #4138A0

    oklch(41.6% 0.162 280.6)

  • #574D00

    #574D00

    oklch(41.7% 0.087 100.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4138A0

    #4138A0

    oklch(41.6% 0.162 280.6)

  • #004D8A

    #004D8A

    oklch(41.6% 0.12 250.8)

  • #67278B

    #67278B

    oklch(41.6% 0.161 310.5)

Open the analogous palette in the generator

Split complementary

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

  • #4138A0

    #4138A0

    oklch(41.6% 0.162 280.6)

  • #6A4200

    #6A4200

    oklch(41.6% 0.09 70.8)

  • #365700

    #365700

    oklch(41.5% 0.112 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4138A0

    #4138A0

    oklch(41.6% 0.162 280.6)

  • #832B00

    #832B00

    oklch(41.7% 0.129 40.5)

  • #005B3B

    #005B3B

    oklch(41.6% 0.093 161)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4138A0

    #4138A0

    oklch(41.6% 0.162 280.6)

  • #8E0736

    #8E0736

    oklch(41.6% 0.162 10.8)

  • #574D00

    #574D00

    oklch(41.7% 0.087 100.8)

  • #005855

    #005855

    oklch(41.6% 0.072 190.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #4138A0.

Similar named colors

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

Use #4138A0 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.