#39145C#39145C

#39145C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.121 H 302.9°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#39145C
RGBrgb(57, 20, 92)
HSLhsl(271, 64%, 22%)
HSVhsv(271, 78%, 36%)
CMYKcmyk(38%, 78.3%, 0%, 63.9%)
CIE-LABlab(16.22, 33.12, -35.67)
CIE-LCHlch(16.22, 48.68, 312.87°)
OKLaboklab(29.26% 0.0658 -0.1016)
OKLCHoklch(29.26% 0.121 302.9)
XYZxyz(3.8688, 2.1429, 10.3329)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39145C #375C14
analogous
#15145C #39145C #5C145B
triadic
#39145C #5C3914 #145C39
tetradic
#39145C #5C1514 #375C14 #145B5C
square
#39145C #5C1514 #375C14 #145B5C
split-complementary
#39145C #5B5C14 #145C15
monochromatic
#100519 #1A092A #39145C #581F8E #772AC1

Accessibility & contrast

On white

14.70
#39145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39145C
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39145C#FFFFFF#000000##FFFFFF
##39145C1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39145c;
/* rgb */ color: rgb(57, 20, 92);
/* oklch */ color: oklch(29.3% 0.121 302.9);
Tailwind
colors: {
  custom: {
    50: '#73558b',
    500: '#39145c',
    950: '#000000',
  },
}
SCSS
$custom: #39145c;
$custom-light: #73558b;
$custom-dark: #000000;
JSON
{
  "hex": "#39145c",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 270.833,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29257,
    "c": 0.12109,
    "h": 302.9
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#39145C
secondary
#659438
accent
#E74192
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39145C

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

Preview Lab → · Contrast checker → · Palette generator →

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