#391B64#391B64

#391B64 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.121 H 297.6°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#391B64
RGBrgb(57, 27, 100)
HSLhsl(265, 57%, 25%)
HSVhsv(265, 73%, 39%)
CMYKcmyk(43%, 73%, 0%, 60.8%)
CIE-LABlab(18.25, 31.62, -37.68)
CIE-LCHlch(18.25, 49.19, 310.00°)
OKLaboklab(30.92% 0.0564 -0.1076)
OKLCHoklch(30.92% 0.121 297.6)
XYZxyz(4.3789, 2.5738, 12.3202)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B64 #46641B
analogous
#1B2164 #391B64 #5E1B64
triadic
#391B64 #64391B #1B6439
tetradic
#391B64 #641B21 #46641B #1B645E
square
#391B64 #641B21 #46641B #1B645E
split-complementary
#391B64 #645E1B #21641B
monochromatic
#0E0718 #1E0E34 #391B64 #542894 #7035C4

Accessibility & contrast

On white

13.86
#391B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B64
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B64#FFFFFF#000000##FFFFFF
##391B641.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#2E2D3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391b64;
/* rgb */ color: rgb(57, 27, 100);
/* oklch */ color: oklch(30.9% 0.121 297.6);
Tailwind
colors: {
  custom: {
    50: '#745a91',
    500: '#391b64',
    950: '#000000',
  },
}
SCSS
$custom: #391b64;
$custom-light: #745a91;
$custom-dark: #000000;
JSON
{
  "hex": "#391b64",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 264.658,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30917,
    "c": 0.12146,
    "h": 297.6
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#391B64
secondary
#759941
accent
#E147A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #391B64

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

Preview Lab → · Contrast checker → · Palette generator →

#391B64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva