#39156D#39156D

#39156D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.140 H 295.5°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#39156D
RGBrgb(57, 21, 109)
HSLhsl(265, 68%, 25%)
HSVhsv(265, 81%, 43%)
CMYKcmyk(47.7%, 80.7%, 0%, 57.3%)
CIE-LABlab(17.96, 37.32, -44.04)
CIE-LCHlch(17.96, 57.73, 310.28°)
OKLaboklab(30.97% 0.0603 -0.1262)
OKLCHoklch(30.97% 0.14 295.5)
XYZxyz(4.7151, 2.5102, 14.7011)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39156D #496D15
analogous
#151D6D #39156D #65156D
triadic
#39156D #6D3915 #156D39
tetradic
#39156D #6D151D #496D15 #156D65
square
#39156D #6D151D #496D15 #156D65
split-complementary
#39156D #6D6515 #1D6D15
monochromatic
#0D051A #1E0B3A #39156D #541FA0 #6F29D4

Accessibility & contrast

On white

13.98
#39156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#39156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39156D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39156D#FFFFFF#000000##FFFFFF
##39156D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#2A2D40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39156d;
/* rgb */ color: rgb(57, 21, 109);
/* oklch */ color: oklch(31.0% 0.140 295.5);
Tailwind
colors: {
  custom: {
    50: '#755798',
    500: '#39156d',
    950: '#000000',
  },
}
SCSS
$custom: #39156d;
$custom-light: #755798;
$custom-dark: #000000;
JSON
{
  "hex": "#39156d",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 264.545,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30971,
    "c": 0.13988,
    "h": 295.5
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#39156D
secondary
#78A33A
accent
#EB3DA4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #39156D

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

Preview Lab → · Contrast checker → · Palette generator →

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