#391052#391052

#391052 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.9% C 0.115 H 309.1°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#391052
RGBrgb(57, 16, 82)
HSLhsl(277, 67%, 19%)
HSVhsv(277, 80%, 32%)
CMYKcmyk(30.5%, 80.5%, 0%, 67.8%)
CIE-LABlab(14.68, 32.44, -31.43)
CIE-LCHlch(14.68, 45.16, 315.91°)
OKLaboklab(27.9% 0.0723 -0.0891)
OKLCHoklch(27.9% 0.115 309.1)
XYZxyz(3.3953, 1.8497, 8.1592)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391052 #295210
analogous
#181052 #391052 #52104A
triadic
#391052 #523910 #105239
tetradic
#391052 #521810 #295210 #104A52
square
#391052 #521810 #295210 #104A52
split-complementary
#391052 #4A5210 #105218
monochromatic
#12051A #15061F #391052 #5D1A85 #8024B8

Accessibility & contrast

On white

15.33
#391052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#391052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391052
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391052#FFFFFF#000000##FFFFFF
##3910521.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#012651
Tritanopia (blue-blind)
#351F30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391052;
/* rgb */ color: rgb(57, 16, 82);
/* oklch */ color: oklch(27.9% 0.115 309.1);
Tailwind
colors: {
  custom: {
    50: '#735383',
    500: '#391052',
    950: '#000000',
  },
}
SCSS
$custom: #391052;
$custom-light: #735383;
$custom-dark: #000000;
JSON
{
  "hex": "#391052",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 277.273,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27896,
    "c": 0.11477,
    "h": 309.1
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#391052
secondary
#548C32
accent
#EA3E7F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391052

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

Preview Lab → · Contrast checker → · Palette generator →

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