#391752#391752

#391752 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.105 H 307.5°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#391752
RGBrgb(57, 23, 82)
HSLhsl(275, 56%, 21%)
HSVhsv(275, 72%, 32%)
CMYKcmyk(30.5%, 72%, 0%, 67.8%)
CIE-LABlab(15.96, 28.84, -29.35)
CIE-LCHlch(15.96, 41.15, 314.49°)
OKLaboklab(28.81% 0.0638 -0.0831)
OKLCHoklch(28.81% 0.105 307.5)
XYZxyz(3.5164, 2.0919, 8.1995)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391752 #305217
analogous
#1B1752 #391752 #52174D
triadic
#391752 #523917 #175239
tetradic
#391752 #521B17 #305217 #174D52
square
#391752 #521B17 #305217 #174D52
split-complementary
#391752 #4D5217 #17521B
monochromatic
#110718 #180A22 #391752 #5A2482 #7B32B2

Accessibility & contrast

On white

14.81
#391752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#391752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391752
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391752#FFFFFF#000000##FFFFFF
##3917521.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#0A2851
Tritanopia (blue-blind)
#352332
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391752;
/* rgb */ color: rgb(57, 23, 82);
/* oklch */ color: oklch(28.8% 0.105 307.5);
Tailwind
colors: {
  custom: {
    50: '#725783',
    500: '#391752',
    950: '#000000',
  },
}
SCSS
$custom: #391752;
$custom-light: #725783;
$custom-dark: #000000;
JSON
{
  "hex": "#391752",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 274.576,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28813,
    "c": 0.10476,
    "h": 307.5
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#391752
secondary
#5C893C
accent
#DF4888
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391752

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

Preview Lab → · Contrast checker → · Palette generator →

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