#39288D#39288D

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

Color values

HEX#39288D
RGBrgb(57, 40, 141)
HSLhsl(250, 56%, 35%)
HSVhsv(250, 72%, 55%)
CMYKcmyk(59.6%, 71.6%, 0%, 44.7%)
CIE-LABlab(24.67, 36.77, -53.39)
CIE-LCHlch(24.67, 64.82, 304.55°)
OKLaboklab(36.65% 0.0356 -0.1537)
OKLCHoklch(36.65% 0.158 283)
XYZxyz(7.2524, 4.3101, 25.6439)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39288D #7C8D28
analogous
#28498D #39288D #6B288D
triadic
#39288D #8D3928 #288D39
tetradic
#39288D #8D2849 #7C8D28 #288D6B
square
#39288D #8D2849 #7C8D28 #288D6B
split-complementary
#39288D #8D6B28 #498D28
monochromatic
#120D2E #261A5D #39288D #4C36BD #715ED1

Accessibility & contrast

On white

11.28
#39288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#39288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39288D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39288D#FFFFFF#000000##FFFFFF
##39288D1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#074357
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39288d;
/* rgb */ color: rgb(57, 40, 141);
/* oklch */ color: oklch(36.7% 0.158 283.0);
Tailwind
colors: {
  custom: {
    50: '#7964af',
    500: '#39288d',
    950: '#000000',
  },
}
SCSS
$custom: #39288d;
$custom-light: #7964af;
$custom-dark: #000000;
JSON
{
  "hex": "#39288d",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 250.099,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.1578,
    "h": 283
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#39288D
secondary
#A7B75A
accent
#DF49C6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #39288D

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

Preview Lab → · Contrast checker → · Palette generator →

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