#39185B#39185B

#39185B is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.114 H 302.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#39185B
RGBrgb(57, 24, 91)
HSLhsl(270, 58%, 23%)
HSVhsv(270, 74%, 36%)
CMYKcmyk(37.4%, 73.6%, 0%, 64.3%)
CIE-LABlab(16.89, 30.74, -33.92)
CIE-LCHlch(16.89, 45.78, 312.18°)
OKLaboklab(29.7% 0.0614 -0.0965)
OKLCHoklch(29.7% 0.114 302.5)
XYZxyz(3.9019, 2.2784, 10.1297)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39185B #3A5B18
analogous
#18195B #39185B #5A185B
triadic
#39185B #5B3918 #185B39
tetradic
#39185B #5B1819 #3A5B18 #185B5A
square
#39185B #5B1819 #3A5B18 #185B5A
split-complementary
#39185B #5B5A18 #195B18
monochromatic
#0F0618 #1B0B2B #39185B #57258B #7632BC

Accessibility & contrast

On white

14.43
#39185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#39185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39185B
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39185B#FFFFFF#000000##FFFFFF
##39185B1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#322737
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #39185b;
/* rgb */ color: rgb(57, 24, 91);
/* oklch */ color: oklch(29.7% 0.114 302.5);
Tailwind
colors: {
  custom: {
    50: '#73588a',
    500: '#39185b',
    950: '#000000',
  },
}
SCSS
$custom: #39185b;
$custom-light: #73588a;
$custom-dark: #000000;
JSON
{
  "hex": "#39185b",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 269.552,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29704,
    "c": 0.1144,
    "h": 302.5
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#39185B
secondary
#68923D
accent
#E14695
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39185B

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

Preview Lab → · Contrast checker → · Palette generator →

#39185B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva