#39288E#39288E

#39288E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.159 H 282.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#39288E
RGBrgb(57, 40, 142)
HSLhsl(250, 56%, 36%)
HSVhsv(250, 72%, 56%)
CMYKcmyk(59.9%, 71.8%, 0%, 44.3%)
CIE-LABlab(24.77, 37.09, -53.85)
CIE-LCHlch(24.77, 65.39, 304.55°)
OKLaboklab(36.75% 0.0354 -0.1551)
OKLCHoklch(36.75% 0.159 282.9)
XYZxyz(7.3271, 4.3400, 26.0375)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39288E #7D8E28
analogous
#284A8E #39288E #6C288E
triadic
#39288E #8E3928 #288E39
tetradic
#39288E #8E284A #7D8E28 #288E6C
square
#39288E #8E284A #7D8E28 #288E6C
split-complementary
#39288E #8E6C28 #4A8E28
monochromatic
#130D2F #261B5E #39288E #4C35BE #725FD2

Accessibility & contrast

On white

11.24
#39288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#39288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39288E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39288E#FFFFFF#000000##FFFFFF
##39288E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#054358
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39288e;
/* rgb */ color: rgb(57, 40, 142);
/* oklch */ color: oklch(36.7% 0.159 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a64b0',
    500: '#39288e',
    950: '#000000',
  },
}
SCSS
$custom: #39288e;
$custom-light: #7a64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39288e",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 250,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36748,
    "c": 0.1591,
    "h": 282.9
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#39288E
secondary
#A8B75B
accent
#DF48C6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #39288E

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

Preview Lab → · Contrast checker → · Palette generator →

#39288E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva