#39286C#39286C

#39286C is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.7% C 0.113 H 290.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#39286C
RGBrgb(57, 40, 108)
HSLhsl(255, 46%, 29%)
HSVhsv(255, 63%, 42%)
CMYKcmyk(47.2%, 63%, 0%, 57.6%)
CIE-LABlab(21.84, 26.14, -37.09)
CIE-LCHlch(21.84, 45.38, 305.18°)
OKLaboklab(33.72% 0.0397 -0.1059)
OKLCHoklch(33.72% 0.113 290.6)
XYZxyz(5.1522, 3.4700, 14.5828)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39286C #5B6C28
analogous
#28396C #39286C #5B286C
triadic
#39286C #6C3928 #286C39
tetradic
#39286C #6C2839 #5B6C28 #286C5B
square
#39286C #6C2839 #5B6C28 #286C5B
split-complementary
#39286C #6C5B28 #396C28
monochromatic
#0C0816 #21173F #39286C #513999 #6C50BE

Accessibility & contrast

On white

12.40
#39286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39286C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39286C#FFFFFF#000000##FFFFFF
##39286C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#2A3746
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39286c;
/* rgb */ color: rgb(57, 40, 108);
/* oklch */ color: oklch(33.7% 0.113 290.6);
Tailwind
colors: {
  custom: {
    50: '#746397',
    500: '#39286c',
    950: '#000000',
  },
}
SCSS
$custom: #39286c;
$custom-light: #746397;
$custom-dark: #000000;
JSON
{
  "hex": "#39286c",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 255,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.11307,
    "h": 290.6
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39286C

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

Preview Lab → · Contrast checker → · Palette generator →

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