#39145D#39145D

#39145D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.122 H 302.4°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#39145D
RGBrgb(57, 20, 93)
HSLhsl(270, 65%, 22%)
HSVhsv(270, 78%, 36%)
CMYKcmyk(38.7%, 78.5%, 0%, 63.5%)
CIE-LABlab(16.31, 33.39, -36.20)
CIE-LCHlch(16.31, 49.24, 312.68°)
OKLaboklab(29.35% 0.0656 -0.1032)
OKLCHoklch(29.35% 0.122 302.4)
XYZxyz(3.9128, 2.1605, 10.5647)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39145D #385D14
analogous
#15145D #39145D #5D145D
triadic
#39145D #5D3914 #145D39
tetradic
#39145D #5D1514 #385D14 #145D5D
square
#39145D #5D1514 #385D14 #145D5D
split-complementary
#39145D #5D5D14 #145D15
monochromatic
#0F0519 #1A092B #39145D #581F8F #772AC2

Accessibility & contrast

On white

14.66
#39145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#39145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39145D
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39145D#FFFFFF#000000##FFFFFF
##39145D1.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)
#00285F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#312637
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39145d;
/* rgb */ color: rgb(57, 20, 93);
/* oklch */ color: oklch(29.3% 0.122 302.4);
Tailwind
colors: {
  custom: {
    50: '#73558c',
    500: '#39145d',
    950: '#000000',
  },
}
SCSS
$custom: #39145d;
$custom-light: #73558c;
$custom-dark: #000000;
JSON
{
  "hex": "#39145d",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 270.411,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29347,
    "c": 0.12226,
    "h": 302.4
  },
  "luminance": 0.0216
}

Semantic roles & 50–950 ramp

primary
#39145D
secondary
#669538
accent
#E84093
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39145D

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

Preview Lab → · Contrast checker → · Palette generator →

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