#39155D#39155D

#39155D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.121 H 302.2°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#39155D
RGBrgb(57, 21, 93)
HSLhsl(270, 63%, 22%)
HSVhsv(270, 77%, 36%)
CMYKcmyk(38.7%, 77.4%, 0%, 63.5%)
CIE-LABlab(16.49, 32.88, -35.91)
CIE-LCHlch(16.49, 48.69, 312.48°)
OKLaboklab(29.47% 0.0645 -0.1023)
OKLCHoklch(29.47% 0.121 302.2)
XYZxyz(3.9308, 2.1965, 10.5707)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39155D #395D15
analogous
#15155D #39155D #5D155D
triadic
#39155D #5D3915 #155D39
tetradic
#39155D #5D1515 #395D15 #155D5D
square
#39155D #5D1515 #395D15 #155D5D
split-complementary
#39155D #5D5D15 #155D15
monochromatic
#0F0619 #1A0A2B #39155D #58208F #762CC1

Accessibility & contrast

On white

14.59
#39155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#39155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39155D
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39155D#FFFFFF#000000##FFFFFF
##39155D1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#312737
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39155d;
/* rgb */ color: rgb(57, 21, 93);
/* oklch */ color: oklch(29.5% 0.121 302.2);
Tailwind
colors: {
  custom: {
    50: '#73568b',
    500: '#39155d',
    950: '#000000',
  },
}
SCSS
$custom: #39155d;
$custom-light: #73568b;
$custom-dark: #000000;
JSON
{
  "hex": "#39155d",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 270,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29473,
    "c": 0.12097,
    "h": 302.2
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#39155D
secondary
#679439
accent
#E64294
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39155D

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

Preview Lab → · Contrast checker → · Palette generator →

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