#39286D#39286D

#39286D is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.114 H 290.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#39286D
RGBrgb(57, 40, 109)
HSLhsl(255, 46%, 29%)
HSVhsv(255, 63%, 43%)
CMYKcmyk(47.7%, 63.3%, 0%, 57.3%)
CIE-LABlab(21.91, 26.46, -37.61)
CIE-LCHlch(21.91, 45.99, 305.13°)
OKLaboklab(33.8% 0.0397 -0.1074)
OKLCHoklch(33.8% 0.114 290.3)
XYZxyz(5.2057, 3.4914, 14.8647)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39286D #5C6D28
analogous
#283A6D #39286D #5C286D
triadic
#39286D #6D3928 #286D39
tetradic
#39286D #6D283A #5C6D28 #286D5C
square
#39286D #6D283A #5C6D28 #286D5C
split-complementary
#39286D #6D5C28 #3A6D28
monochromatic
#0C0816 #221840 #39286D #50389A #6C50BF

Accessibility & contrast

On white

12.36
#39286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39286D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39286D#FFFFFF#000000##FFFFFF
##39286D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#293846
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39286d;
/* rgb */ color: rgb(57, 40, 109);
/* oklch */ color: oklch(33.8% 0.114 290.3);
Tailwind
colors: {
  custom: {
    50: '#746397',
    500: '#39286d',
    950: '#000000',
  },
}
SCSS
$custom: #39286d;
$custom-light: #746397;
$custom-dark: #000000;
JSON
{
  "hex": "#39286d",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 254.783,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.338,
    "c": 0.11449,
    "h": 290.3
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#39286D
secondary
#8C9F51
accent
#D652B5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39286D

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

Preview Lab → · Contrast checker → · Palette generator →

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