#391352#391352

#391352 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.111 H 308.5°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#391352
RGBrgb(57, 19, 82)
HSLhsl(276, 62%, 20%)
HSVhsv(276, 77%, 32%)
CMYKcmyk(30.5%, 76.8%, 0%, 67.8%)
CIE-LABlab(15.20, 30.97, -30.59)
CIE-LCHlch(15.20, 43.53, 315.36°)
OKLaboklab(28.26% 0.0689 -0.0867)
OKLCHoklch(28.26% 0.111 308.5)
XYZxyz(3.4429, 1.9449, 8.1750)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391352 #2C5213
analogous
#191352 #391352 #52134C
triadic
#391352 #523913 #135239
tetradic
#391352 #521913 #2C5213 #134C52
square
#391352 #521913 #2C5213 #134C52
split-complementary
#391352 #4C5213 #135219
monochromatic
#110619 #160720 #391352 #5C1F84 #7E2AB5

Accessibility & contrast

On white

15.12
#391352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#391352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391352
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391352#FFFFFF#000000##FFFFFF
##3913521.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#052751
Tritanopia (blue-blind)
#352131
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391352;
/* rgb */ color: rgb(57, 19, 82);
/* oklch */ color: oklch(28.3% 0.111 308.5);
Tailwind
colors: {
  custom: {
    50: '#725483',
    500: '#391352',
    950: '#000000',
  },
}
SCSS
$custom: #391352;
$custom-light: #725483;
$custom-dark: #000000;
JSON
{
  "hex": "#391352",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 276.19,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28264,
    "c": 0.11071,
    "h": 308.5
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#391352
secondary
#588A36
accent
#E54283
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391352

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

Preview Lab → · Contrast checker → · Palette generator →

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