#39155E#39155E

#39155E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.122 H 301.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#39155E
RGBrgb(57, 21, 94)
HSLhsl(270, 63%, 23%)
HSVhsv(270, 78%, 37%)
CMYKcmyk(39.4%, 77.7%, 0%, 63.1%)
CIE-LABlab(16.57, 33.16, -36.43)
CIE-LCHlch(16.57, 49.26, 312.30°)
OKLaboklab(29.56% 0.0643 -0.1039)
OKLCHoklch(29.56% 0.122 301.7)
XYZxyz(3.9754, 2.2143, 10.8055)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39155E #3A5E15
analogous
#15165E #39155E #5D155E
triadic
#39155E #5E3915 #155E39
tetradic
#39155E #5E1516 #3A5E15 #155E5D
square
#39155E #5E1516 #3A5E15 #155E5D
split-complementary
#39155E #5E5D15 #165E15
monochromatic
#0F0619 #1B0A2C #39155E #572090 #762BC2

Accessibility & contrast

On white

14.56
#39155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39155E
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39155E#FFFFFF#000000##FFFFFF
##39155E1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39155e;
/* rgb */ color: rgb(57, 21, 94);
/* oklch */ color: oklch(29.6% 0.122 301.7);
Tailwind
colors: {
  custom: {
    50: '#73568c',
    500: '#39155e',
    950: '#000000',
  },
}
SCSS
$custom: #39155e;
$custom-light: #73568c;
$custom-dark: #000000;
JSON
{
  "hex": "#39155e",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 269.589,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29562,
    "c": 0.12216,
    "h": 301.7
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#39155E
secondary
#689539
accent
#E74195
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39155E

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

Preview Lab → · Contrast checker → · Palette generator →

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