#39155B#39155B

#39155B is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.119 H 303.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#39155B
RGBrgb(57, 21, 91)
HSLhsl(271, 63%, 22%)
HSVhsv(271, 77%, 36%)
CMYKcmyk(37.4%, 76.9%, 0%, 64.3%)
CIE-LABlab(16.31, 32.34, -34.85)
CIE-LCHlch(16.31, 47.54, 312.86°)
OKLaboklab(29.3% 0.0649 -0.0992)
OKLCHoklch(29.3% 0.119 303.2)
XYZxyz(3.8434, 2.1615, 10.1102)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39155B #375B15
analogous
#16155B #39155B #5B155A
triadic
#39155B #5B3915 #155B39
tetradic
#39155B #5B1615 #375B15 #155A5B
square
#39155B #5B1615 #375B15 #155A5B
split-complementary
#39155B #5A5B15 #155B16
monochromatic
#100619 #1A0A29 #39155B #58208D #772CBE

Accessibility & contrast

On white

14.66
#39155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#39155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39155B
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39155B#FFFFFF#000000##FFFFFF
##39155B1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#322636
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39155b;
/* rgb */ color: rgb(57, 21, 91);
/* oklch */ color: oklch(29.3% 0.119 303.2);
Tailwind
colors: {
  custom: {
    50: '#73568a',
    500: '#39155b',
    950: '#000000',
  },
}
SCSS
$custom: #39155b;
$custom-light: #73568a;
$custom-dark: #000000;
JSON
{
  "hex": "#39155b",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 270.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29296,
    "c": 0.11858,
    "h": 303.2
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#39155B
secondary
#659239
accent
#E64292
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39155B

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

Preview Lab → · Contrast checker → · Palette generator →

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