#361C80#361C80

#361C80 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.155 H 286.4°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#361C80
RGBrgb(54, 28, 128)
HSLhsl(256, 64%, 31%)
HSVhsv(256, 78%, 50%)
CMYKcmyk(57.8%, 78.1%, 0%, 49.8%)
CIE-LABlab(20.72, 38.91, -51.73)
CIE-LCHlch(20.72, 64.73, 306.95°)
OKLaboklab(33.4% 0.0439 -0.1489)
OKLCHoklch(33.4% 0.155 286.4)
XYZxyz(5.8317, 3.1730, 20.7230)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C80 #66801C
analogous
#1C3480 #361C80 #681C80
triadic
#361C80 #80361C #1C8036
tetradic
#361C80 #801C34 #66801C #1C8068
square
#361C80 #801C34 #66801C #1C8068
split-complementary
#361C80 #80681C #34801C
monochromatic
#0C061C #21114E #361C80 #4B27B2 #6841D5

Accessibility & contrast

On white

12.85
#361C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361C80
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C80#FFFFFF#000000##FFFFFF
##361C801.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361c80;
/* rgb */ color: rgb(54, 28, 128);
/* oklch */ color: oklch(33.4% 0.155 286.4);
Tailwind
colors: {
  custom: {
    50: '#765ba6',
    500: '#361c80',
    950: '#000000',
  },
}
SCSS
$custom: #361c80;
$custom-light: #765ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#361c80",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 255.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.15525,
    "h": 286.4
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#361C80
secondary
#97B344
accent
#E741BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361C80

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

Preview Lab → · Contrast checker → · Palette generator →

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