#39188D#39188D

#39188D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.174 H 285.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#39188D
RGBrgb(57, 24, 141)
HSLhsl(257, 71%, 32%)
HSVhsv(257, 83%, 55%)
CMYKcmyk(59.6%, 83%, 0%, 44.7%)
CIE-LABlab(21.75, 45.07, -58.20)
CIE-LCHlch(21.75, 73.61, 307.75°)
OKLaboklab(34.6% 0.0474 -0.1677)
OKLCHoklch(34.6% 0.174 285.8)
XYZxyz(6.8202, 3.4458, 25.4999)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39188D #6C8D18
analogous
#18328D #39188D #74188D
triadic
#39188D #8D3918 #188D39
tetradic
#39188D #8D1832 #6C8D18 #188D74
square
#39188D #8D1832 #6C8D18 #188D74
split-complementary
#39188D #8D7418 #328D18
monochromatic
#0F0624 #240F59 #39188D #4E21C1 #6D41DF

Accessibility & contrast

On white

12.43
#39188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#39188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39188D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39188D#FFFFFF#000000##FFFFFF
##39188D1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#0A3C53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39188d;
/* rgb */ color: rgb(57, 24, 141);
/* oklch */ color: oklch(34.6% 0.174 285.8);
Tailwind
colors: {
  custom: {
    50: '#7b5bb0',
    500: '#39188d',
    950: '#000000',
  },
}
SCSS
$custom: #39188d;
$custom-light: #7b5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#39188d",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 256.923,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34597,
    "c": 0.17422,
    "h": 285.8
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#39188D
secondary
#9CBF42
accent
#EE3ABB
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #39188D

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

Preview Lab → · Contrast checker → · Palette generator →

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