#39286B#39286B

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

Color values

HEX#39286B
RGBrgb(57, 40, 107)
HSLhsl(255, 46%, 29%)
HSVhsv(255, 63%, 42%)
CMYKcmyk(46.7%, 62.6%, 0%, 58%)
CIE-LABlab(21.76, 25.83, -36.57)
CIE-LCHlch(21.76, 44.77, 305.23°)
OKLaboklab(33.64% 0.0397 -0.1043)
OKLCHoklch(33.64% 0.112 290.9)
XYZxyz(5.0992, 3.4488, 14.3041)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39286B #5A6B28
analogous
#28396B #39286B #5B286B
triadic
#39286B #6B3928 #286B39
tetradic
#39286B #6B2839 #5A6B28 #286B5B
square
#39286B #6B2839 #5A6B28 #286B5B
split-complementary
#39286B #6B5B28 #396B28
monochromatic
#0C0816 #21173E #39286B #513998 #6C50BE

Accessibility & contrast

On white

12.43
#39286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39286B
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39286B#FFFFFF#000000##FFFFFF
##39286B1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#2A3745
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39286b;
/* rgb */ color: rgb(57, 40, 107);
/* oklch */ color: oklch(33.6% 0.112 290.9);
Tailwind
colors: {
  custom: {
    50: '#746296',
    500: '#39286b',
    950: '#000000',
  },
}
SCSS
$custom: #39286b;
$custom-light: #746296;
$custom-dark: #000000;
JSON
{
  "hex": "#39286b",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 255.224,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33638,
    "c": 0.11164,
    "h": 290.9
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#39286B
secondary
#8A9D51
accent
#D553B4
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39286B

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

Preview Lab → · Contrast checker → · Palette generator →

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