#391652#391652

#391652 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.106 H 307.8°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#391652
RGBrgb(57, 22, 82)
HSLhsl(275, 58%, 20%)
HSVhsv(275, 73%, 32%)
CMYKcmyk(30.5%, 73.2%, 0%, 67.8%)
CIE-LABlab(15.76, 29.39, -29.67)
CIE-LCHlch(15.76, 41.76, 314.73°)
OKLaboklab(28.67% 0.0651 -0.084)
OKLCHoklch(28.67% 0.106 307.8)
XYZxyz(3.4969, 2.0529, 8.1930)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391652 #2F5216
analogous
#1B1652 #391652 #52164D
triadic
#391652 #523916 #165239
tetradic
#391652 #521B16 #2F5216 #164D52
square
#391652 #521B16 #2F5216 #164D52
split-complementary
#391652 #4D5216 #16521B
monochromatic
#110618 #170922 #391652 #5B2382 #7C30B3

Accessibility & contrast

On white

14.89
#391652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391652
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391652#FFFFFF#000000##FFFFFF
##3916521.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#092851
Tritanopia (blue-blind)
#352332
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391652;
/* rgb */ color: rgb(57, 22, 82);
/* oklch */ color: oklch(28.7% 0.106 307.8);
Tailwind
colors: {
  custom: {
    50: '#725683',
    500: '#391652',
    950: '#000000',
  },
}
SCSS
$custom: #391652;
$custom-light: #725683;
$custom-dark: #000000;
JSON
{
  "hex": "#391652",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 275,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28669,
    "c": 0.1063,
    "h": 307.8
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#391652
secondary
#5B893A
accent
#E14787
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391652

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

Preview Lab → · Contrast checker → · Palette generator →

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