#39208C#39208C

#39208C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.165 H 284.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#39208C
RGBrgb(57, 32, 140)
HSLhsl(254, 63%, 34%)
HSVhsv(254, 77%, 55%)
CMYKcmyk(59.3%, 77.1%, 0%, 45.1%)
CIE-LABlab(22.98, 40.90, -55.53)
CIE-LCHlch(22.98, 68.97, 306.37°)
OKLaboklab(35.43% 0.0423 -0.16)
OKLCHoklch(35.43% 0.165 284.8)
XYZxyz(6.9360, 3.7959, 25.1731)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39208C #738C20
analogous
#203D8C #39208C #6F208C
triadic
#39208C #8C3920 #208C39
tetradic
#39208C #8C203D #738C20 #208C6F
square
#39208C #8C203D #738C20 #208C6F
split-complementary
#39208C #8C6F20 #3D8C20
monochromatic
#100928 #25155A #39208C #4D2BBE #6F50D7

Accessibility & contrast

On white

11.94
#39208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#39208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39208C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39208C#FFFFFF#000000##FFFFFF
##39208C1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#0B3F55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39208c;
/* rgb */ color: rgb(57, 32, 140);
/* oklch */ color: oklch(35.4% 0.165 284.8);
Tailwind
colors: {
  custom: {
    50: '#7a5faf',
    500: '#39208c',
    950: '#000000',
  },
}
SCSS
$custom: #39208c;
$custom-light: #7a5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#39208c",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 253.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35428,
    "c": 0.16546,
    "h": 284.8
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#39208C
secondary
#A1BA4E
accent
#E642C0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39208C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#39208C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva