#391165#391165

#391165 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.135 H 299.4°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#391165
RGBrgb(57, 17, 101)
HSLhsl(269, 71%, 23%)
HSVhsv(269, 83%, 40%)
CMYKcmyk(43.6%, 83.2%, 0%, 60.4%)
CIE-LABlab(16.55, 36.96, -41.11)
CIE-LCHlch(16.55, 55.28, 311.95°)
OKLaboklab(29.75% 0.0663 -0.1176)
OKLCHoklch(29.75% 0.135 299.4)
XYZxyz(4.2362, 2.2103, 12.5128)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391165 #3D6511
analogous
#111365 #391165 #631165
triadic
#391165 #653911 #116539
tetradic
#391165 #651113 #3D6511 #116563
square
#391165 #651113 #3D6511 #116563
split-complementary
#391165 #656311 #136511
monochromatic
#0F041A #1B0831 #391165 #571A99 #7423CE

Accessibility & contrast

On white

14.56
#391165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391165
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391165#FFFFFF#000000##FFFFFF
##3911651.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#2E283B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391165;
/* rgb */ color: rgb(57, 17, 101);
/* oklch */ color: oklch(29.7% 0.135 299.4);
Tailwind
colors: {
  custom: {
    50: '#755492',
    500: '#391165',
    950: '#000000',
  },
}
SCSS
$custom: #391165;
$custom-light: #755492;
$custom-dark: #000000;
JSON
{
  "hex": "#391165",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 268.571,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.13498,
    "h": 299.4
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#391165
secondary
#6B9D35
accent
#EE3A98
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391165

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

Preview Lab → · Contrast checker → · Palette generator →

#391165 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva