#39155C#39155C

#39155C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.120 H 302.7°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#39155C
RGBrgb(57, 21, 92)
HSLhsl(270, 63%, 22%)
HSVhsv(270, 77%, 36%)
CMYKcmyk(38%, 77.2%, 0%, 63.9%)
CIE-LABlab(16.40, 32.61, -35.38)
CIE-LCHlch(16.40, 48.12, 312.66°)
OKLaboklab(29.38% 0.0647 -0.1008)
OKLCHoklch(29.38% 0.12 302.7)
XYZxyz(3.8868, 2.1789, 10.3389)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39155C #385C15
analogous
#16155C #39155C #5C155C
triadic
#39155C #5C3915 #155C39
tetradic
#39155C #5C1615 #385C15 #155C5C
square
#39155C #5C1615 #385C15 #155C5C
split-complementary
#39155C #5C5C15 #155C16
monochromatic
#0F0619 #1A0A2A #39155C #58208E #772CC0

Accessibility & contrast

On white

14.63
#39155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39155C
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39155C#FFFFFF#000000##FFFFFF
##39155C1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#322637
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39155c;
/* rgb */ color: rgb(57, 21, 92);
/* oklch */ color: oklch(29.4% 0.120 302.7);
Tailwind
colors: {
  custom: {
    50: '#73568b',
    500: '#39155c',
    950: '#000000',
  },
}
SCSS
$custom: #39155c;
$custom-light: #73568b;
$custom-dark: #000000;
JSON
{
  "hex": "#39155c",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 270.423,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29384,
    "c": 0.11977,
    "h": 302.7
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#39155C
secondary
#669339
accent
#E64293
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39155C

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

Preview Lab → · Contrast checker → · Palette generator →

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