#361B80#361B80

#361B80 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.156 H 286.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#361B80
RGBrgb(54, 27, 128)
HSLhsl(256, 65%, 30%)
HSVhsv(256, 79%, 50%)
CMYKcmyk(57.8%, 78.9%, 0%, 49.8%)
CIE-LABlab(20.54, 39.43, -52.02)
CIE-LCHlch(20.54, 65.28, 307.16°)
OKLaboklab(33.27% 0.0447 -0.1498)
OKLCHoklch(33.27% 0.156 286.6)
XYZxyz(5.8084, 3.1263, 20.7153)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B80 #65801B
analogous
#1B3280 #361B80 #691B80
triadic
#361B80 #80361B #1B8036
tetradic
#361B80 #801B32 #65801B #1B8069
square
#361B80 #801B32 #65801B #1B8069
split-complementary
#361B80 #80691B #32801B
monochromatic
#0B061B #21104D #361B80 #4B26B3 #673FD6

Accessibility & contrast

On white

12.92
#361B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B80
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B80#FFFFFF#000000##FFFFFF
##361B801.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#14384D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361b80;
/* rgb */ color: rgb(54, 27, 128);
/* oklch */ color: oklch(33.3% 0.156 286.6);
Tailwind
colors: {
  custom: {
    50: '#765ba6',
    500: '#361b80',
    950: '#000000',
  },
}
SCSS
$custom: #361b80;
$custom-light: #765ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#361b80",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 256.04,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33271,
    "c": 0.15629,
    "h": 286.6
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#361B80
secondary
#96B443
accent
#E840BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B80

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

Preview Lab → · Contrast checker → · Palette generator →

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