#391952#391952

#391952 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.1% C 0.102 H 307.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#391952
RGBrgb(57, 25, 82)
HSLhsl(274, 53%, 21%)
HSVhsv(274, 70%, 32%)
CMYKcmyk(30.5%, 69.5%, 0%, 67.8%)
CIE-LABlab(16.38, 27.70, -28.68)
CIE-LCHlch(16.38, 39.87, 314.00°)
OKLaboklab(29.11% 0.0611 -0.0811)
OKLCHoklch(29.11% 0.102 307)
XYZxyz(3.5576, 2.1744, 8.2133)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391952 #325219
analogous
#1C1952 #391952 #52194E
triadic
#391952 #523919 #195239
tetradic
#391952 #521C19 #325219 #194E52
square
#391952 #521C19 #325219 #194E52
split-complementary
#391952 #4E5219 #19521C
monochromatic
#100717 #180B23 #391952 #5A2781 #7A36B0

Accessibility & contrast

On white

14.64
#391952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#391952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391952
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391952#FFFFFF#000000##FFFFFF
##3919521.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#0D2951
Tritanopia (blue-blind)
#352533
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391952;
/* rgb */ color: rgb(57, 25, 82);
/* oklch */ color: oklch(29.1% 0.102 307.0);
Tailwind
colors: {
  custom: {
    50: '#725883',
    500: '#391952',
    950: '#000000',
  },
}
SCSS
$custom: #391952;
$custom-light: #725883;
$custom-dark: #000000;
JSON
{
  "hex": "#391952",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 273.684,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29112,
    "c": 0.10158,
    "h": 307
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#391952
secondary
#5F883E
accent
#DD4B8B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391952

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

Preview Lab → · Contrast checker → · Palette generator →

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