#39156A#39156A

#39156A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.136 H 296.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#39156A
RGBrgb(57, 21, 106)
HSLhsl(265, 67%, 25%)
HSVhsv(265, 80%, 42%)
CMYKcmyk(46.2%, 80.2%, 0%, 58.4%)
CIE-LABlab(17.68, 36.48, -42.56)
CIE-LCHlch(17.68, 56.05, 310.60°)
OKLaboklab(30.68% 0.0612 -0.1219)
OKLCHoklch(30.68% 0.136 296.7)
XYZxyz(4.5563, 2.4467, 13.8651)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39156A #466A15
analogous
#151B6A #39156A #64156A
triadic
#39156A #6A3915 #156A39
tetradic
#39156A #6A151B #466A15 #156A64
square
#39156A #6A151B #466A15 #156A64
split-complementary
#39156A #6A6415 #1B6A15
monochromatic
#0E051A #1E0B37 #39156A #541F9D #7029D0

Accessibility & contrast

On white

14.10
#39156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#39156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39156A
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39156A#FFFFFF#000000##FFFFFF
##39156A1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#2C2C3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #39156a;
/* rgb */ color: rgb(57, 21, 106);
/* oklch */ color: oklch(30.7% 0.136 296.7);
Tailwind
colors: {
  custom: {
    50: '#755795',
    500: '#39156a',
    950: '#000000',
  },
}
SCSS
$custom: #39156a;
$custom-light: #755795;
$custom-dark: #000000;
JSON
{
  "hex": "#39156a",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 265.412,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3068,
    "c": 0.13636,
    "h": 296.7
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#39156A
secondary
#75A13A
accent
#EA3EA1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39156A

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

Preview Lab → · Contrast checker → · Palette generator →

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