#39165D#39165D

#39165D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.6% C 0.120 H 302.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#39165D
RGBrgb(57, 22, 93)
HSLhsl(270, 62%, 23%)
HSVhsv(270, 76%, 36%)
CMYKcmyk(38.7%, 76.3%, 0%, 63.5%)
CIE-LABlab(16.67, 32.36, -35.61)
CIE-LCHlch(16.67, 48.12, 312.27°)
OKLaboklab(29.6% 0.0634 -0.1015)
OKLCHoklch(29.6% 0.12 302)
XYZxyz(3.9496, 2.2340, 10.5769)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39165D #3A5D16
analogous
#16175D #39165D #5C165D
triadic
#39165D #5D3916 #165D39
tetradic
#39165D #5D1617 #3A5D16 #165D5C
square
#39165D #5D1617 #3A5D16 #165D5C
split-complementary
#39165D #5D5C16 #175D16
monochromatic
#0F0619 #1B0A2C #39165D #57228E #762DC0

Accessibility & contrast

On white

14.51
#39165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#39165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39165D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39165D#FFFFFF#000000##FFFFFF
##39165D1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39165d;
/* rgb */ color: rgb(57, 22, 93);
/* oklch */ color: oklch(29.6% 0.120 302.0);
Tailwind
colors: {
  custom: {
    50: '#73578b',
    500: '#39165d',
    950: '#000000',
  },
}
SCSS
$custom: #39165d;
$custom-light: #73578b;
$custom-dark: #000000;
JSON
{
  "hex": "#39165d",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 269.577,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.11963,
    "h": 302
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#39165D
secondary
#68943B
accent
#E54395
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39165D

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

Preview Lab → · Contrast checker → · Palette generator →

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