#4F27BA

Closest named color: Violet Blue (#510AC9). oklch(43% 0.21 286), rgb(79, 39, 186).

Aa

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

About this color

#4F27BA is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.210 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Violet Blue (#510AC9), ΔE 0.032 away. White text reads best on it, at 9.00:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.210)
Temperaturecool
Nearest nameViolet Blue (#510AC9)
Black text2.33:1
White text9.00:1

Values

HEX#4F27BA
RGBrgb(79, 39, 186)
HSLhsl(256, 65%, 44%)
OKLCHoklch(43% 0.21 286)

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 #4F27BA 9.00:1 AAA Lc -94.1 Preferred for body text
Black text on #4F27BA 2.33:1 Fails Lc 14.4 Not readable
#4F27BA text on white 9.00:1 AAA Lc 89.6 Fine for body text
#4F27BA text on black 2.33:1 Fails Lc -12.7 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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E7FF

    oklch(93.5% 0.032 285.8)

  3. Step 200

    200

    #D5D4FF

    oklch(88.5% 0.059 286.2)

  4. Step 300

    300

    #BBB7FF

    oklch(80.9% 0.101 286.5)

  5. Step 400

    400

    #9A8FFF

    oklch(70.8% 0.16 286)

  6. Step 500

    500

    #846DFF

    oklch(63.2% 0.208 286)

  7. Step 600

    600

    #7142FF

    oklch(55.6% 0.259 285.8)

  8. Step 700

    700

    #6128E5

    oklch(49% 0.254 286.1)

  9. Step 800

    800 (this color)

    #4F27BA

    oklch(43% 0.21 286)

  10. Step 900

    900

    #402892

    oklch(37.8% 0.163 286)

  11. Step 950

    950

    #251955

    oklch(27% 0.103 286.4)

Export this scale for Tailwind in the Tailwind colors tool

#4F27BA 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)#004DBE0.095
Deuteranopia (no green cones)#0045B70.088
Tritanopia (no blue cones)#1752710.171
Achromatopsia (no color)#4949490.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F27BA

    #4F27BA

    oklch(43% 0.21 286)

  • #575200

    #575200

    oklch(43% 0.091 105.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F27BA

    #4F27BA

    oklch(43% 0.21 286)

  • #004D9D

    #004D9D

    oklch(43% 0.146 255.8)

  • #79019A

    #79019A

    oklch(42.9% 0.21 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #4F27BA

    #4F27BA

    oklch(43% 0.21 286)

  • #6C4700

    #6C4700

    oklch(42.9% 0.091 75.1)

  • #2B5E00

    #2B5E00

    oklch(42.9% 0.127 135.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F27BA

    #4F27BA

    oklch(43% 0.21 286)

  • #833400

    #833400

    oklch(43% 0.122 45.6)

  • #005F44

    #005F44

    oklch(43% 0.09 165.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F27BA

    #4F27BA

    oklch(43% 0.21 286)

  • #97002E

    #97002E

    oklch(43% 0.172 15.8)

  • #575200

    #575200

    oklch(43% 0.091 105.6)

  • #005C5D

    #005C5D

    oklch(43% 0.073 196.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #4F27BA.

Similar named colors

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

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