#39286F#39286F

#39286F is a dark, moderate violet. Relative luminance 0.035; OKLCH L 34.0% C 0.117 H 289.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#39286F
RGBrgb(57, 40, 111)
HSLhsl(254, 47%, 30%)
HSVhsv(254, 64%, 44%)
CMYKcmyk(48.6%, 64%, 0%, 56.5%)
CIE-LABlab(22.07, 27.10, -38.65)
CIE-LCHlch(22.07, 47.21, 305.04°)
OKLaboklab(33.97% 0.0396 -0.1104)
OKLCHoklch(33.97% 0.117 289.7)
XYZxyz(5.3146, 3.5349, 15.4381)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39286F #5E6F28
analogous
#283B6F #39286F #5D286F
triadic
#39286F #6F3928 #286F39
tetradic
#39286F #6F283B #5E6F28 #286F5D
square
#39286F #6F283B #5E6F28 #286F5D
split-complementary
#39286F #6F5D28 #3B6F28
monochromatic
#0C0816 #221842 #39286F #50389C #6C51C0

Accessibility & contrast

On white

12.30
#39286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#39286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39286F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39286F#FFFFFF#000000##FFFFFF
##39286F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#283847
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39286f;
/* rgb */ color: rgb(57, 40, 111);
/* oklch */ color: oklch(34.0% 0.117 289.7);
Tailwind
colors: {
  custom: {
    50: '#746399',
    500: '#39286f',
    950: '#000000',
  },
}
SCSS
$custom: #39286f;
$custom-light: #746399;
$custom-dark: #000000;
JSON
{
  "hex": "#39286f",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 254.366,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33965,
    "c": 0.11732,
    "h": 289.7
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#39286F
secondary
#8EA151
accent
#D751B7
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #39286F

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

Preview Lab → · Contrast checker → · Palette generator →

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