#391150#391150

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

Color values

HEX#391150
RGBrgb(57, 17, 80)
HSLhsl(278, 65%, 19%)
HSVhsv(278, 79%, 31%)
CMYKcmyk(28.8%, 78.8%, 0%, 68.6%)
CIE-LABlab(14.68, 31.46, -30.06)
CIE-LCHlch(14.68, 43.51, 316.30°)
OKLaboklab(27.85% 0.0716 -0.0851)
OKLCHoklch(27.85% 0.111 310.1)
XYZxyz(3.3355, 1.8500, 7.7692)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391150 #285011
analogous
#1A1150 #391150 #501148
triadic
#391150 #503911 #115039
tetradic
#391150 #501A11 #285011 #114850
square
#391150 #501A11 #285011 #114850
split-complementary
#391150 #485011 #11501A
monochromatic
#120519 #15061E #391150 #5D1C82 #8126B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391150#FFFFFF#000000##FFFFFF
##3911501.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)
#002352
Deuteranopia (green-blind)
#05264F
Tritanopia (blue-blind)
#361F2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391150;
/* rgb */ color: rgb(57, 17, 80);
/* oklch */ color: oklch(27.8% 0.111 310.1);
Tailwind
colors: {
  custom: {
    50: '#725381',
    500: '#391150',
    950: '#000000',
  },
}
SCSS
$custom: #391150;
$custom-light: #725381;
$custom-dark: #000000;
JSON
{
  "hex": "#391150",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 278.095,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27845,
    "c": 0.1112,
    "h": 310.1
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#391150
secondary
#538933
accent
#E8407D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391150

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

Preview Lab → · Contrast checker → · Palette generator →

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