#39155F#39155F

#39155F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.123 H 301.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#39155F
RGBrgb(57, 21, 95)
HSLhsl(269, 64%, 23%)
HSVhsv(269, 78%, 37%)
CMYKcmyk(40%, 77.9%, 0%, 62.7%)
CIE-LABlab(16.66, 33.43, -36.96)
CIE-LCHlch(16.66, 49.83, 312.13°)
OKLaboklab(29.65% 0.0641 -0.1054)
OKLCHoklch(29.65% 0.123 301.3)
XYZxyz(4.0206, 2.2324, 11.0433)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39155F #3B5F15
analogous
#15165F #39155F #5E155F
triadic
#39155F #5F3915 #155F39
tetradic
#39155F #5F1516 #3B5F15 #155F5E
square
#39155F #5F1516 #3B5F15 #155F5E
split-complementary
#39155F #5F5E15 #165F15
monochromatic
#0F0619 #1B0A2D #39155F #572091 #752BC3

Accessibility & contrast

On white

14.52
#39155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#39155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39155F
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39155F#FFFFFF#000000##FFFFFF
##39155F1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#312738
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39155f;
/* rgb */ color: rgb(57, 21, 95);
/* oklch */ color: oklch(29.7% 0.123 301.3);
Tailwind
colors: {
  custom: {
    50: '#74568d',
    500: '#39155f',
    950: '#000000',
  },
}
SCSS
$custom: #39155f;
$custom-light: #74568d;
$custom-dark: #000000;
JSON
{
  "hex": "#39155f",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 269.189,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29653,
    "c": 0.12335,
    "h": 301.3
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#39155F
secondary
#69963A
accent
#E74196
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39155F

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

Preview Lab → · Contrast checker → · Palette generator →

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