#39208A#39208A

#39208A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.163 H 285.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#39208A
RGBrgb(57, 32, 138)
HSLhsl(254, 62%, 33%)
HSVhsv(254, 77%, 54%)
CMYKcmyk(58.7%, 76.8%, 0%, 45.9%)
CIE-LABlab(22.78, 40.29, -54.62)
CIE-LCHlch(22.78, 67.87, 306.42°)
OKLaboklab(35.23% 0.0428 -0.1573)
OKLCHoklch(35.23% 0.163 285.2)
XYZxyz(6.7899, 3.7375, 24.4034)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39208A #718A20
analogous
#203C8A #39208A #6E208A
triadic
#39208A #8A3920 #208A39
tetradic
#39208A #8A203C #718A20 #208A6E
square
#39208A #8A203C #718A20 #208A6E
split-complementary
#39208A #8A6E20 #3C8A20
monochromatic
#100927 #241458 #39208A #4E2CBC #6E4ED6

Accessibility & contrast

On white

12.02
#39208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#39208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39208A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39208A#FFFFFF#000000##FFFFFF
##39208A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#0F3E53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39208a;
/* rgb */ color: rgb(57, 32, 138);
/* oklch */ color: oklch(35.2% 0.163 285.2);
Tailwind
colors: {
  custom: {
    50: '#795fad',
    500: '#39208a',
    950: '#000000',
  },
}
SCSS
$custom: #39208a;
$custom-light: #795fad;
$custom-dark: #000000;
JSON
{
  "hex": "#39208a",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 254.151,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35225,
    "c": 0.16301,
    "h": 285.2
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#39208A
secondary
#A0B94D
accent
#E542BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39208A

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

Preview Lab → · Contrast checker → · Palette generator →

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