#39288B#39288B

#39288B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.155 H 283.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#39288B
RGBrgb(57, 40, 139)
HSLhsl(250, 55%, 35%)
HSVhsv(250, 71%, 55%)
CMYKcmyk(59%, 71.2%, 0%, 45.5%)
CIE-LABlab(24.48, 36.12, -52.45)
CIE-LCHlch(24.48, 63.68, 304.55°)
OKLaboklab(36.46% 0.036 -0.151)
OKLCHoklch(36.46% 0.155 283.4)
XYZxyz(7.1049, 4.2511, 24.8672)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39288B #7A8B28
analogous
#28498B #39288B #6A288B
triadic
#39288B #8B3928 #288B39
tetradic
#39288B #8B2849 #7A8B28 #288B6A
square
#39288B #8B2849 #7A8B28 #288B6A
split-complementary
#39288B #8B6A28 #498B28
monochromatic
#120D2C #261A5B #39288B #4C36BB #715DD0

Accessibility & contrast

On white

11.35
#39288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#39288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39288B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39288B#FFFFFF#000000##FFFFFF
##39288B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#0C4256
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #39288b;
/* rgb */ color: rgb(57, 40, 139);
/* oklch */ color: oklch(36.5% 0.155 283.4);
Tailwind
colors: {
  custom: {
    50: '#7963ae',
    500: '#39288b',
    950: '#000000',
  },
}
SCSS
$custom: #39288b;
$custom-light: #7963ae;
$custom-dark: #000000;
JSON
{
  "hex": "#39288b",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 250.303,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36462,
    "c": 0.15521,
    "h": 283.4
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#39288B
secondary
#A6B659
accent
#DF49C5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #39288B

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

Preview Lab → · Contrast checker → · Palette generator →

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