#391051#391051

#391051 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.114 H 309.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#391051
RGBrgb(57, 16, 81)
HSLhsl(278, 67%, 19%)
HSVhsv(278, 80%, 32%)
CMYKcmyk(29.6%, 80.2%, 0%, 68.2%)
CIE-LABlab(14.59, 32.19, -30.88)
CIE-LCHlch(14.59, 44.60, 316.19°)
OKLaboklab(27.81% 0.0725 -0.0875)
OKLCHoklch(27.81% 0.114 309.6)
XYZxyz(3.3575, 1.8346, 7.9602)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391051 #285110
analogous
#191051 #391051 #511049
triadic
#391051 #513910 #105139
tetradic
#391051 #511910 #285110 #104951
square
#391051 #511910 #285110 #104951
split-complementary
#391051 #495110 #105119
monochromatic
#12051A #15061E #391051 #5D1A84 #8124B7

Accessibility & contrast

On white

15.36
#391051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#391051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391051
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391051#FFFFFF#000000##FFFFFF
##3910511.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#022550
Tritanopia (blue-blind)
#361F2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391051;
/* rgb */ color: rgb(57, 16, 81);
/* oklch */ color: oklch(27.8% 0.114 309.6);
Tailwind
colors: {
  custom: {
    50: '#725382',
    500: '#391051',
    950: '#000000',
  },
}
SCSS
$custom: #391051;
$custom-light: #725382;
$custom-dark: #000000;
JSON
{
  "hex": "#391051",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 277.846,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27811,
    "c": 0.11365,
    "h": 309.6
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#391051
secondary
#538B32
accent
#EA3E7D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #391051

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

Preview Lab → · Contrast checker → · Palette generator →

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