#361B82#361B82

#361B82 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.159 H 286.1°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#361B82
RGBrgb(54, 27, 130)
HSLhsl(256, 66%, 31%)
HSVhsv(256, 79%, 51%)
CMYKcmyk(58.5%, 79.2%, 0%, 49%)
CIE-LABlab(20.75, 40.03, -52.95)
CIE-LCHlch(20.75, 66.38, 307.09°)
OKLaboklab(33.48% 0.0441 -0.1525)
OKLCHoklch(33.48% 0.159 286.1)
XYZxyz(5.9413, 3.1795, 21.4154)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B82 #67821B
analogous
#1B3382 #361B82 #691B82
triadic
#361B82 #82361B #1B8236
tetradic
#361B82 #821B33 #67821B #1B8269
square
#361B82 #821B33 #67821B #1B8269
split-complementary
#361B82 #82691B #33821B
monochromatic
#0C061D #21104F #361B82 #4B26B5 #6840D7

Accessibility & contrast

On white

12.84
#361B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#361B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B82
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B82#FFFFFF#000000##FFFFFF
##361B821.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#11394E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361b82;
/* rgb */ color: rgb(54, 27, 130);
/* oklch */ color: oklch(33.5% 0.159 286.1);
Tailwind
colors: {
  custom: {
    50: '#775ba7',
    500: '#361b82',
    950: '#000000',
  },
}
SCSS
$custom: #361b82;
$custom-light: #775ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#361b82",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 255.728,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33477,
    "c": 0.15872,
    "h": 286.1
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#361B82
secondary
#98B643
accent
#E93FBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361B82

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

Preview Lab → · Contrast checker → · Palette generator →

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