#39156C#39156C

#39156C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.139 H 295.9°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#39156C
RGBrgb(57, 21, 108)
HSLhsl(265, 67%, 25%)
HSVhsv(265, 81%, 42%)
CMYKcmyk(47.2%, 80.6%, 0%, 57.6%)
CIE-LABlab(17.87, 37.04, -43.55)
CIE-LCHlch(17.87, 57.17, 310.38°)
OKLaboklab(30.87% 0.0606 -0.1248)
OKLCHoklch(30.87% 0.139 295.9)
XYZxyz(4.6616, 2.4888, 14.4192)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39156C #486C15
analogous
#151C6C #39156C #65156C
triadic
#39156C #6C3915 #156C39
tetradic
#39156C #6C151C #486C15 #156C65
square
#39156C #6C151C #486C15 #156C65
split-complementary
#39156C #6C6515 #1C6C15
monochromatic
#0E051A #1E0B39 #39156C #541F9F #6F29D2

Accessibility & contrast

On white

14.02
#39156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39156C
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39156C#FFFFFF#000000##FFFFFF
##39156C1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#2B2D40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39156c;
/* rgb */ color: rgb(57, 21, 108);
/* oklch */ color: oklch(30.9% 0.139 295.9);
Tailwind
colors: {
  custom: {
    50: '#755797',
    500: '#39156c',
    950: '#000000',
  },
}
SCSS
$custom: #39156c;
$custom-light: #755797;
$custom-dark: #000000;
JSON
{
  "hex": "#39156c",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 264.828,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30874,
    "c": 0.13871,
    "h": 295.9
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#39156C
secondary
#77A33A
accent
#EA3DA3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39156C

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

Preview Lab → · Contrast checker → · Palette generator →

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