#645DBB

Closest named color: Iris (#6258C4). oklch(53.2% 0.143 283.8), rgb(100, 93, 187).

Aa

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

About this color

#645DBB is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.143 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.020 away. White text reads best on it, at 5.48:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.143)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.82:1
White text5.48:1

Values

HEX#645DBB
RGBrgb(100, 93, 187)
HSLhsl(244, 41%, 55%)
OKLCHoklch(53.2% 0.143 283.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 #645DBB 5.48:1 AA Lc -82.5 Fine for body text
Black text on #645DBB 3.82:1 AA large text Lc 26.9 Dividers and decoration only
#645DBB text on white 5.48:1 AA Lc 77.2 Fine for body text
#645DBB text on black 3.82:1 AA large text Lc -24.6 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D5D7F1

    oklch(88.6% 0.036 282.1)

  4. Step 300

    300

    #BBBCEA

    oklch(81% 0.065 283.9)

  5. Step 400

    400

    #9898DF

    oklch(70.7% 0.103 283.5)

  6. Step 500

    500

    #807DD6

    oklch(63.1% 0.132 283.5)

  7. Step 600

    600 (this color)

    #645DBB

    oklch(53.2% 0.143 283.8)

  8. Step 700

    700

    #5953A8

    oklch(49.1% 0.132 283.6)

  9. Step 800

    800

    #494488

    oklch(42.7% 0.11 284.1)

  10. Step 900

    900

    #3D3A6D

    oklch(37.7% 0.085 284.2)

  11. Step 950

    950

    #232240

    oklch(26.9% 0.055 283.6)

Export this scale for Tailwind in the Tailwind colors tool

#645DBB 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)#336CBE0.064
Deuteranopia (no green cones)#2E66B90.065
Tritanopia (no blue cones)#4771830.122
Achromatopsia (no color)#6969690.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #645DBB

    #645DBB

    oklch(53.2% 0.143 283.8)

  • #786F00

    #786F00

    oklch(53.3% 0.113 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #645DBB

    #645DBB

    oklch(53.2% 0.143 283.8)

  • #246DBC

    #246DBC

    oklch(53.2% 0.143 253.6)

  • #894FA5

    #894FA5

    oklch(53.1% 0.142 313.7)

Open the analogous palette in the generator

Split complementary

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

  • #645DBB

    #645DBB

    oklch(53.2% 0.143 283.8)

  • #936000

    #936000

    oklch(53.1% 0.113 73.2)

  • #477D13

    #477D13

    oklch(53.2% 0.143 133.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #645DBB

    #645DBB

    oklch(53.2% 0.143 283.8)

  • #AD4A16

    #AD4A16

    oklch(53.2% 0.143 43.9)

  • #00805A

    #00805A

    oklch(53.1% 0.113 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #645DBB

    #645DBB

    oklch(53.2% 0.143 283.8)

  • #AF4153

    #AF4153

    oklch(53.1% 0.144 13.6)

  • #786F00

    #786F00

    oklch(53.3% 0.113 103.9)

  • #007C7B

    #007C7B

    oklch(53% 0.091 193.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #645DBB 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.