#39287F#39287F

#39287F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.139 H 285.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#39287F
RGBrgb(57, 40, 127)
HSLhsl(252, 52%, 33%)
HSVhsv(252, 69%, 50%)
CMYKcmyk(55.1%, 68.5%, 0%, 50.2%)
CIE-LABlab(23.40, 32.25, -46.69)
CIE-LCHlch(23.40, 56.75, 304.63°)
OKLaboklab(35.35% 0.0379 -0.1341)
OKLCHoklch(35.35% 0.139 285.8)
XYZxyz(6.2758, 3.9194, 20.5004)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39287F #6E7F28
analogous
#28427F #39287F #64287F
triadic
#39287F #7F3928 #287F39
tetradic
#39287F #7F2842 #6E7F28 #287F64
square
#39287F #7F2842 #6E7F28 #287F64
split-complementary
#39287F #7F6428 #427F28
monochromatic
#0F0B22 #241950 #39287F #4E37AE #6E57CA

Accessibility & contrast

On white

11.77
#39287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#39287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39287F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39287F#FFFFFF#000000##FFFFFF
##39287F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#1C3E50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39287f;
/* rgb */ color: rgb(57, 40, 127);
/* oklch */ color: oklch(35.4% 0.139 285.8);
Tailwind
colors: {
  custom: {
    50: '#7763a5',
    500: '#39287f',
    950: '#000000',
  },
}
SCSS
$custom: #39287f;
$custom-light: #7763a5;
$custom-dark: #000000;
JSON
{
  "hex": "#39287f",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 251.724,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3535,
    "c": 0.13935,
    "h": 285.8
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#39287F
secondary
#9DAF54
accent
#DC4CC0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39287F

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

Preview Lab → · Contrast checker → · Palette generator →

#39287F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva