#6234A4

Closest named color: Rebecca Purple (#663399). oklch(44.5% 0.171 297.9), rgb(98, 52, 164).

Aa

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

About this color

#6234A4 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.171 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.020 away. White text reads best on it, at 8.24:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.171)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.54:1
White text8.24:1

Values

HEX#6234A4
RGBrgb(98, 52, 164)
HSLhsl(265, 52%, 42%)
OKLCHoklch(44.5% 0.171 297.9)

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 #6234A4 8.24:1 AAA Lc -92.6 Preferred for body text
Black text on #6234A4 2.54:1 Fails Lc 16.1 Dividers and decoration only
#6234A4 text on white 8.24:1 AAA Lc 87.9 Fine for body text
#6234A4 text on black 2.54:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DDD2FA

    oklch(88.5% 0.056 297.8)

  4. Step 300

    300

    #C8B3F9

    oklch(80.9% 0.1 297.9)

  5. Step 400

    400

    #AD88F6

    oklch(70.7% 0.159 297.7)

  6. Step 500

    500

    #9B65F2

    oklch(63.1% 0.204 298)

  7. Step 600

    600

    #8746E1

    oklch(55.7% 0.222 297.9)

  8. Step 700

    700

    #7335C3

    oklch(49.1% 0.207 298.2)

  9. Step 800

    800 (this color)

    #6234A4

    oklch(44.5% 0.171 297.9)

  10. Step 900

    900

    #4C2B7E

    oklch(37.7% 0.134 297.9)

  11. Step 950

    950

    #2C1A49

    oklch(26.9% 0.084 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#6234A4 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)#004FA70.115
Deuteranopia (no green cones)#004DA20.116
Tritanopia (no blue cones)#524E680.129
Achromatopsia (no color)#4F4F4F0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #6234A4

    #6234A4

    oklch(44.5% 0.171 297.9)

  • #4F5B00

    #4F5B00

    oklch(44.5% 0.104 118.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6234A4

    #6234A4

    oklch(44.5% 0.171 297.9)

  • #2C47B1

    #2C47B1

    oklch(44.5% 0.171 267.8)

  • #822283

    #822283

    oklch(44.5% 0.172 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #6234A4

    #6234A4

    oklch(44.5% 0.171 297.9)

  • #695000

    #695000

    oklch(44.5% 0.091 87.8)

  • #006625

    #006625

    oklch(44.5% 0.129 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6234A4

    #6234A4

    oklch(44.5% 0.171 297.9)

  • #7E4200

    #7E4200

    oklch(44.5% 0.106 58.2)

  • #006354

    #006354

    oklch(44.7% 0.083 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6234A4

    #6234A4

    oklch(44.5% 0.171 297.9)

  • #9D1312

    #9D1312

    oklch(44.6% 0.171 28)

  • #4F5B00

    #4F5B00

    oklch(44.5% 0.104 118.2)

  • #005F6A

    #005F6A

    oklch(44.4% 0.076 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6234A4 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.