#391155#391155

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

Color values

HEX#391155
RGBrgb(57, 17, 85)
HSLhsl(275, 67%, 20%)
HSVhsv(275, 80%, 33%)
CMYKcmyk(32.9%, 80%, 0%, 66.7%)
CIE-LABlab(15.10, 32.73, -32.78)
CIE-LCHlch(15.10, 46.33, 314.95°)
OKLaboklab(28.27% 0.0706 -0.0931)
OKLCHoklch(28.27% 0.117 307.2)
XYZxyz(3.5271, 1.9267, 8.7786)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391155 #2D5511
analogous
#171155 #391155 #55114F
triadic
#391155 #553911 #115539
tetradic
#391155 #551711 #2D5511 #114F55
square
#391155 #551711 #2D5511 #114F55
split-complementary
#391155 #4F5511 #115517
monochromatic
#11051A #170722 #391155 #5B1B88 #7D25BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391155#FFFFFF#000000##FFFFFF
##3911551.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)
#002557
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#342132
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391155;
/* rgb */ color: rgb(57, 17, 85);
/* oklch */ color: oklch(28.3% 0.117 307.2);
Tailwind
colors: {
  custom: {
    50: '#735485',
    500: '#391155',
    950: '#000000',
  },
}
SCSS
$custom: #391155;
$custom-light: #735485;
$custom-dark: #000000;
JSON
{
  "hex": "#391155",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 275.294,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.28273,
    "c": 0.11686,
    "h": 307.2
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#391155
secondary
#598E34
accent
#EA3E85
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391155

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

Preview Lab → · Contrast checker → · Palette generator →

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