#39286E#39286E

#39286E is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.116 H 290.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#39286E
RGBrgb(57, 40, 110)
HSLhsl(255, 47%, 29%)
HSVhsv(255, 64%, 43%)
CMYKcmyk(48.2%, 63.6%, 0%, 56.9%)
CIE-LABlab(21.99, 26.78, -38.13)
CIE-LCHlch(21.99, 46.60, 305.08°)
OKLaboklab(33.88% 0.0396 -0.1089)
OKLCHoklch(33.88% 0.116 290)
XYZxyz(5.2598, 3.5130, 15.1498)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39286E #5D6E28
analogous
#283A6E #39286E #5C286E
triadic
#39286E #6E3928 #286E39
tetradic
#39286E #6E283A #5D6E28 #286E5C
square
#39286E #6E283A #5D6E28 #286E5C
split-complementary
#39286E #6E5C28 #3A6E28
monochromatic
#0C0816 #221841 #39286E #50389B #6C51C0

Accessibility & contrast

On white

12.33
#39286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#39286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39286E
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39286E#FFFFFF#000000##FFFFFF
##39286E1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#293847
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39286e;
/* rgb */ color: rgb(57, 40, 110);
/* oklch */ color: oklch(33.9% 0.116 290.0);
Tailwind
colors: {
  custom: {
    50: '#746398',
    500: '#39286e',
    950: '#000000',
  },
}
SCSS
$custom: #39286e;
$custom-light: #746398;
$custom-dark: #000000;
JSON
{
  "hex": "#39286e",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 254.571,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33882,
    "c": 0.11591,
    "h": 290
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#39286E
secondary
#8DA051
accent
#D651B6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #39286E

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

Preview Lab → · Contrast checker → · Palette generator →

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