#39165F#39165F

#39165F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.122 H 301.1°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#39165F
RGBrgb(57, 22, 95)
HSLhsl(269, 62%, 23%)
HSVhsv(269, 77%, 37%)
CMYKcmyk(40%, 76.8%, 0%, 62.7%)
CIE-LABlab(16.84, 32.92, -36.66)
CIE-LCHlch(16.84, 49.27, 311.92°)
OKLaboklab(29.78% 0.063 -0.1045)
OKLCHoklch(29.78% 0.122 301.1)
XYZxyz(4.0393, 2.2699, 11.0496)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39165F #3C5F16
analogous
#16185F #39165F #5D165F
triadic
#39165F #5F3916 #165F39
tetradic
#39165F #5F1618 #3C5F16 #165F5D
square
#39165F #5F1618 #3C5F16 #165F5D
split-complementary
#39165F #5F5D16 #185F16
monochromatic
#0F0619 #1B0A2D #39165F #572291 #752DC2

Accessibility & contrast

On white

14.44
#39165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39165F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39165F#FFFFFF#000000##FFFFFF
##39165F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#312839
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #39165f;
/* rgb */ color: rgb(57, 22, 95);
/* oklch */ color: oklch(29.8% 0.122 301.1);
Tailwind
colors: {
  custom: {
    50: '#74578d',
    500: '#39165f',
    950: '#000000',
  },
}
SCSS
$custom: #39165f;
$custom-light: #74578d;
$custom-dark: #000000;
JSON
{
  "hex": "#39165f",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 268.767,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29781,
    "c": 0.12205,
    "h": 301.1
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#39165F
secondary
#6A963B
accent
#E54297
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39165F

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

Preview Lab → · Contrast checker → · Palette generator →

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