#391452#391452

#391452 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.109 H 308.3°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#391452
RGBrgb(57, 20, 82)
HSLhsl(276, 61%, 20%)
HSVhsv(276, 76%, 32%)
CMYKcmyk(30.5%, 75.6%, 0%, 67.8%)
CIE-LABlab(15.38, 30.46, -30.29)
CIE-LCHlch(15.38, 42.96, 315.16°)
OKLaboklab(28.4% 0.0677 -0.0858)
OKLCHoklch(28.4% 0.109 308.3)
XYZxyz(3.4602, 1.9794, 8.1808)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391452 #2D5214
analogous
#1A1452 #391452 #52144C
triadic
#391452 #523914 #145239
tetradic
#391452 #521A14 #2D5214 #144C52
square
#391452 #521A14 #2D5214 #144C52
split-complementary
#391452 #4C5214 #14521A
monochromatic
#110619 #170821 #391452 #5B2083 #7D2CB4

Accessibility & contrast

On white

15.05
#391452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#391452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391452
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391452#FFFFFF#000000##FFFFFF
##3914521.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391452;
/* rgb */ color: rgb(57, 20, 82);
/* oklch */ color: oklch(28.4% 0.109 308.3);
Tailwind
colors: {
  custom: {
    50: '#725583',
    500: '#391452',
    950: '#000000',
  },
}
SCSS
$custom: #391452;
$custom-light: #725583;
$custom-dark: #000000;
JSON
{
  "hex": "#391452",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 275.806,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.28395,
    "c": 0.10928,
    "h": 308.3
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#391452
secondary
#598A38
accent
#E44484
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391452

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

Preview Lab → · Contrast checker → · Palette generator →

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