#361C81#361C81

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

Color values

HEX#361C81
RGBrgb(54, 28, 129)
HSLhsl(255, 64%, 31%)
HSVhsv(255, 78%, 51%)
CMYKcmyk(58.1%, 78.3%, 0%, 49.4%)
CIE-LABlab(20.83, 39.22, -52.19)
CIE-LCHlch(20.83, 65.29, 306.92°)
OKLaboklab(33.5% 0.0437 -0.1503)
OKLCHoklch(33.5% 0.156 286.2)
XYZxyz(5.8978, 3.1994, 21.0714)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C81 #67811C
analogous
#1C3481 #361C81 #681C81
triadic
#361C81 #81361C #1C8136
tetradic
#361C81 #811C34 #67811C #1C8168
square
#361C81 #811C34 #67811C #1C8168
split-complementary
#361C81 #81681C #34811C
monochromatic
#0C061C #21114F #361C81 #4B27B3 #6842D6

Accessibility & contrast

On white

12.80
#361C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361C81
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C81#FFFFFF#000000##FFFFFF
##361C811.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002F7F
Tritanopia (blue-blind)
#12394D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361c81;
/* rgb */ color: rgb(54, 28, 129);
/* oklch */ color: oklch(33.5% 0.156 286.2);
Tailwind
colors: {
  custom: {
    50: '#775ca7',
    500: '#361c81',
    950: '#000000',
  },
}
SCSS
$custom: #361c81;
$custom-light: #775ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#361c81",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 255.446,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.335,
    "c": 0.15647,
    "h": 286.2
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#361C81
secondary
#98B444
accent
#E740BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361C81

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

Preview Lab → · Contrast checker → · Palette generator →

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