#673F8B

Closest named color: Rebecca Purple (#663399). oklch(45% 0.125 306.3), rgb(103, 63, 139).

Aa

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

About this color

#673F8B is a medium-dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.125 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.037 away. White text reads best on it, at 7.89:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.66:1
White text7.89:1

Values

HEX#673F8B
RGBrgb(103, 63, 139)
HSLhsl(272, 38%, 40%)
OKLCHoklch(45% 0.125 306.3)

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 #673F8B 7.89:1 AAA Lc -91.8 Preferred for body text
Black text on #673F8B 2.66:1 Fails Lc 16.9 Dividers and decoration only
#673F8B text on white 7.89:1 AAA Lc 87.1 Fine for body text
#673F8B text on black 2.66:1 Fails Lc -15.0 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 800.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F5

    oklch(93.5% 0.021 306.8)

  3. Step 200

    200

    #E0D3EF

    oklch(88.6% 0.04 306.5)

  4. Step 300

    300

    #CCB5E6

    oklch(80.9% 0.072 306.1)

  5. Step 400

    400

    #B38DDA

    oklch(70.7% 0.116 306.3)

  6. Step 500

    500

    #A06ED0

    oklch(63% 0.15 306.1)

  7. Step 600

    600

    #8C54BD

    oklch(55.6% 0.163 306.5)

  8. Step 700

    700

    #7744A3

    oklch(49.2% 0.151 306.4)

  9. Step 800

    800 (this color)

    #673F8B

    oklch(45% 0.125 306.3)

  10. Step 900

    900

    #4F316A

    oklch(37.7% 0.099 306.6)

  11. Step 950

    950

    #2E1D3E

    oklch(26.9% 0.063 306.4)

Export this scale for Tailwind in the Tailwind colors tool

#673F8B 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)#27508E0.098
Deuteranopia (no green cones)#3452890.089
Tritanopia (no blue cones)#614D5F0.091
Achromatopsia (no color)#5151510.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #673F8B

    #673F8B

    oklch(45% 0.125 306.3)

  • #456000

    #456000

    oklch(45.1% 0.115 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #673F8B

    #673F8B

    oklch(45% 0.125 306.3)

  • #454B99

    #454B99

    oklch(44.9% 0.125 276.8)

  • #7E356F

    #7E356F

    oklch(44.9% 0.125 336.1)

Open the analogous palette in the generator

Split complementary

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

  • #673F8B

    #673F8B

    oklch(45% 0.125 306.3)

  • #645400

    #645400

    oklch(44.8% 0.092 96.3)

  • #00663B

    #00663B

    oklch(44.9% 0.108 156.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #673F8B

    #673F8B

    oklch(45% 0.125 306.3)

  • #7A4800

    #7A4800

    oklch(45% 0.1 66.1)

  • #00635C

    #00635C

    oklch(45% 0.079 186.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #673F8B

    #673F8B

    oklch(45% 0.125 306.3)

  • #8D351D

    #8D351D

    oklch(45% 0.125 36)

  • #456000

    #456000

    oklch(45.1% 0.115 126.3)

  • #006072

    #006072

    oklch(45.1% 0.08 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #673F8B 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.