#39165C#39165C

#39165C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.118 H 302.5°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#39165C
RGBrgb(57, 22, 92)
HSLhsl(270, 61%, 22%)
HSVhsv(270, 76%, 36%)
CMYKcmyk(38%, 76.1%, 0%, 63.9%)
CIE-LABlab(16.58, 32.09, -35.08)
CIE-LCHlch(16.58, 47.54, 312.45°)
OKLaboklab(29.52% 0.0636 -0.0999)
OKLCHoklch(29.52% 0.118 302.5)
XYZxyz(3.9056, 2.2164, 10.3452)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39165C #395C16
analogous
#16165C #39165C #5C165C
triadic
#39165C #5C3916 #165C39
tetradic
#39165C #5C1616 #395C16 #165C5C
square
#39165C #5C1616 #395C16 #165C5C
split-complementary
#39165C #5C5C16 #165C16
monochromatic
#0F0619 #1A0A2B #39165C #58228D #762EBF

Accessibility & contrast

On white

14.55
#39165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#39165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39165C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39165C#FFFFFF#000000##FFFFFF
##39165C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#322737
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39165c;
/* rgb */ color: rgb(57, 22, 92);
/* oklch */ color: oklch(29.5% 0.118 302.5);
Tailwind
colors: {
  custom: {
    50: '#73578b',
    500: '#39165c',
    950: '#000000',
  },
}
SCSS
$custom: #39165c;
$custom-light: #73578b;
$custom-dark: #000000;
JSON
{
  "hex": "#39165c",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 270,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29515,
    "c": 0.11842,
    "h": 302.5
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#39165C
secondary
#67933B
accent
#E54394
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39165C

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

Preview Lab → · Contrast checker → · Palette generator →

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