#361558#361558

#361558 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.114 H 302.1°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#361558
RGBrgb(54, 21, 88)
HSLhsl(270, 61%, 21%)
HSVhsv(270, 76%, 35%)
CMYKcmyk(38.6%, 76.1%, 0%, 65.5%)
CIE-LABlab(15.62, 30.85, -33.99)
CIE-LCHlch(15.62, 45.90, 312.23°)
OKLaboklab(28.63% 0.0607 -0.0968)
OKLCHoklch(28.63% 0.114 302.1)
XYZxyz(3.5505, 2.0252, 9.4345)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361558 #375815
analogous
#151658 #361558 #581558
triadic
#361558 #583615 #155836
tetradic
#361558 #581516 #375815 #155858
square
#361558 #581516 #375815 #155858
split-complementary
#361558 #585815 #165815
monochromatic
#0F0619 #180927 #361558 #542189 #732DBB

Accessibility & contrast

On white

14.95
#361558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#361558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361558
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361558#FFFFFF#000000##FFFFFF
##3615581.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#2F2535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #361558;
/* rgb */ color: rgb(54, 21, 88);
/* oklch */ color: oklch(28.6% 0.114 302.1);
Tailwind
colors: {
  custom: {
    50: '#715588',
    500: '#361558',
    950: '#000000',
  },
}
SCSS
$custom: #361558;
$custom-light: #715588;
$custom-dark: #000000;
JSON
{
  "hex": "#361558",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 269.552,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.11427,
    "h": 302.1
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#361558
secondary
#659039
accent
#E54395
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361558

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

Preview Lab → · Contrast checker → · Palette generator →

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