#391253#391253

#391253 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.113 H 308.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#391253
RGBrgb(57, 18, 83)
HSLhsl(276, 64%, 20%)
HSVhsv(276, 78%, 33%)
CMYKcmyk(31.3%, 78.3%, 0%, 67.5%)
CIE-LABlab(15.10, 31.73, -31.42)
CIE-LCHlch(15.10, 44.66, 315.28°)
OKLaboklab(28.22% 0.0699 -0.0891)
OKLCHoklch(28.22% 0.113 308.1)
XYZxyz(3.4647, 1.9271, 8.3714)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391253 #2C5312
analogous
#191253 #391253 #53124D
triadic
#391253 #533912 #125339
tetradic
#391253 #531912 #2C5312 #124D53
square
#391253 #531912 #2C5312 #124D53
split-complementary
#391253 #4D5312 #125319
monochromatic
#110519 #160721 #391253 #5C1D85 #7E28B8

Accessibility & contrast

On white

15.16
#391253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391253
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391253#FFFFFF#000000##FFFFFF
##3912531.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391253;
/* rgb */ color: rgb(57, 18, 83);
/* oklch */ color: oklch(28.2% 0.113 308.1);
Tailwind
colors: {
  custom: {
    50: '#725484',
    500: '#391253',
    950: '#000000',
  },
}
SCSS
$custom: #391253;
$custom-light: #725484;
$custom-dark: #000000;
JSON
{
  "hex": "#391253",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 276,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28222,
    "c": 0.11326,
    "h": 308.1
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#391253
secondary
#588C35
accent
#E74083
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391253

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

Preview Lab → · Contrast checker → · Palette generator →

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