#39286A#39286A

#39286A is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.110 H 291.2°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#39286A
RGBrgb(57, 40, 106)
HSLhsl(255, 45%, 29%)
HSVhsv(255, 62%, 42%)
CMYKcmyk(46.2%, 62.3%, 0%, 58.4%)
CIE-LABlab(21.68, 25.51, -36.05)
CIE-LCHlch(21.68, 44.16, 305.29°)
OKLaboklab(33.56% 0.0398 -0.1028)
OKLCHoklch(33.56% 0.11 291.2)
XYZxyz(5.0469, 3.4279, 14.0286)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39286A #596A28
analogous
#28386A #39286A #5A286A
triadic
#39286A #6A3928 #286A39
tetradic
#39286A #6A2838 #596A28 #286A5A
square
#39286A #6A2838 #596A28 #286A5A
split-complementary
#39286A #6A5A28 #386A28
monochromatic
#0C0816 #21173E #39286A #513996 #6C50BD

Accessibility & contrast

On white

12.46
#39286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#39286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39286A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39286A#FFFFFF#000000##FFFFFF
##39286A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#013369
Tritanopia (blue-blind)
#2B3745
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39286a;
/* rgb */ color: rgb(57, 40, 106);
/* oklch */ color: oklch(33.6% 0.110 291.2);
Tailwind
colors: {
  custom: {
    50: '#736295',
    500: '#39286a',
    950: '#000000',
  },
}
SCSS
$custom: #39286a;
$custom-light: #736295;
$custom-dark: #000000;
JSON
{
  "hex": "#39286a",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 255.455,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33557,
    "c": 0.11022,
    "h": 291.2
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#39286A
secondary
#899D51
accent
#D553B3
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39286A

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

Preview Lab → · Contrast checker → · Palette generator →

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