#39145B#39145B

#39145B is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.2% C 0.120 H 303.4°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#39145B
RGBrgb(57, 20, 91)
HSLhsl(271, 64%, 22%)
HSVhsv(271, 78%, 36%)
CMYKcmyk(37.4%, 78%, 0%, 64.3%)
CIE-LABlab(16.13, 32.85, -35.15)
CIE-LCHlch(16.13, 48.11, 313.06°)
OKLaboklab(29.17% 0.066 -0.1001)
OKLCHoklch(29.17% 0.12 303.4)
XYZxyz(3.8254, 2.1255, 10.1042)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39145B #365B14
analogous
#16145B #39145B #5B145A
triadic
#39145B #5B3914 #145B39
tetradic
#39145B #5B1614 #365B14 #145A5B
square
#39145B #5B1614 #365B14 #145A5B
split-complementary
#39145B #5A5B14 #145B16
monochromatic
#100619 #1A0929 #39145B #581F8D #782ABF

Accessibility & contrast

On white

14.74
#39145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39145B
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39145B#FFFFFF#000000##FFFFFF
##39145B1.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39145b;
/* rgb */ color: rgb(57, 20, 91);
/* oklch */ color: oklch(29.2% 0.120 303.4);
Tailwind
colors: {
  custom: {
    50: '#73558a',
    500: '#39145b',
    950: '#000000',
  },
}
SCSS
$custom: #39145b;
$custom-light: #73558a;
$custom-dark: #000000;
JSON
{
  "hex": "#39145b",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 271.268,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29168,
    "c": 0.11991,
    "h": 303.4
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#39145B
secondary
#639338
accent
#E74190
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39145B

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

Preview Lab → · Contrast checker → · Palette generator →

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