#39185D#39185D

#39185D is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.117 H 301.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#39185D
RGBrgb(57, 24, 93)
HSLhsl(269, 59%, 23%)
HSVhsv(269, 74%, 36%)
CMYKcmyk(38.7%, 74.2%, 0%, 63.5%)
CIE-LABlab(17.05, 31.29, -34.99)
CIE-LCHlch(17.05, 46.94, 311.81°)
OKLaboklab(29.88% 0.0611 -0.0996)
OKLCHoklch(29.88% 0.117 301.5)
XYZxyz(3.9893, 2.3134, 10.5902)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39185D #3C5D18
analogous
#18195D #39185D #5B185D
triadic
#39185D #5D3918 #185D39
tetradic
#39185D #5D1819 #3C5D18 #185D5B
square
#39185D #5D1819 #3C5D18 #185D5B
split-complementary
#39185D #5D5B18 #195D18
monochromatic
#0F0618 #1B0B2C #39185D #57258E #7531BE

Accessibility & contrast

On white

14.36
#39185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39185D
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39185D#FFFFFF#000000##FFFFFF
##39185D1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#312838
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #39185d;
/* rgb */ color: rgb(57, 24, 93);
/* oklch */ color: oklch(29.9% 0.117 301.5);
Tailwind
colors: {
  custom: {
    50: '#73588b',
    500: '#39185d',
    950: '#000000',
  },
}
SCSS
$custom: #39185d;
$custom-light: #73588b;
$custom-dark: #000000;
JSON
{
  "hex": "#39185d",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 268.696,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29876,
    "c": 0.11688,
    "h": 301.5
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#39185D
secondary
#6A933D
accent
#E24697
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39185D

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

Preview Lab → · Contrast checker → · Palette generator →

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