#39147D#39147D

#39147D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.159 H 290.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#39147D
RGBrgb(57, 20, 125)
HSLhsl(261, 72%, 28%)
HSVhsv(261, 84%, 49%)
CMYKcmyk(54.4%, 84%, 0%, 51%)
CIE-LABlab(19.44, 42.26, -51.93)
CIE-LCHlch(19.44, 66.95, 309.14°)
OKLaboklab(32.49% 0.0557 -0.1493)
OKLCHoklch(32.49% 0.159 290.4)
XYZxyz(5.6381, 2.8506, 19.6512)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39147D #587D14
analogous
#14237D #39147D #6D147D
triadic
#39147D #7D3914 #147D39
tetradic
#39147D #7D1423 #587D14 #147D6D
square
#39147D #7D1423 #587D14 #147D6D
split-complementary
#39147D #7D6D14 #237D14
monochromatic
#0C041A #210C48 #39147D #511CB2 #6C2EDE

Accessibility & contrast

On white

13.37
#39147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#39147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39147D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39147D#FFFFFF#000000##FFFFFF
##39147D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#203349
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39147d;
/* rgb */ color: rgb(57, 20, 125);
/* oklch */ color: oklch(32.5% 0.159 290.4);
Tailwind
colors: {
  custom: {
    50: '#7857a4',
    500: '#39147d',
    950: '#000000',
  },
}
SCSS
$custom: #39147d;
$custom-light: #7857a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39147d",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 261.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32487,
    "c": 0.15935,
    "h": 290.4
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#39147D
secondary
#88B23A
accent
#EF39AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #39147D

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

Preview Lab → · Contrast checker → · Palette generator →

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