#361C71#361C71

#361C71 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.137 H 290.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#361C71
RGBrgb(54, 28, 113)
HSLhsl(258, 60%, 28%)
HSVhsv(258, 75%, 44%)
CMYKcmyk(52.2%, 75.2%, 0%, 55.7%)
CIE-LABlab(19.25, 34.34, -44.54)
CIE-LCHlch(19.25, 56.25, 307.63°)
OKLaboklab(31.91% 0.0478 -0.1278)
OKLCHoklch(31.91% 0.137 290.5)
XYZxyz(4.9164, 2.8068, 15.9023)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C71 #57711C
analogous
#1C2C71 #361C71 #611C71
triadic
#361C71 #71361C #1C7136
tetradic
#361C71 #711C2C #57711C #1C7161
square
#361C71 #711C2C #57711C #1C7161
split-complementary
#361C71 #71611C #2C711C
monochromatic
#0C0619 #1F1040 #361C71 #4D28A2 #6739CE

Accessibility & contrast

On white

13.45
#361C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#361C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C71
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C71#FFFFFF#000000##FFFFFF
##361C711.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#223244
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361c71;
/* rgb */ color: rgb(54, 28, 113);
/* oklch */ color: oklch(31.9% 0.137 290.5);
Tailwind
colors: {
  custom: {
    50: '#745b9b',
    500: '#361c71',
    950: '#000000',
  },
}
SCSS
$custom: #361c71;
$custom-light: #745b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361c71",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 258.353,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31911,
    "c": 0.13651,
    "h": 290.5
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#361C71
secondary
#87A643
accent
#E344B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361C71

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

Preview Lab → · Contrast checker → · Palette generator →

#361C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva