#361C8E#361C8E

#361C8E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.172 H 283.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#361C8E
RGBrgb(54, 28, 142)
HSLhsl(254, 67%, 33%)
HSVhsv(254, 80%, 56%)
CMYKcmyk(62%, 80.3%, 0%, 44.3%)
CIE-LABlab(22.19, 43.15, -58.11)
CIE-LCHlch(22.19, 72.38, 306.60°)
OKLaboklab(34.86% 0.0398 -0.1675)
OKLCHoklch(34.86% 0.172 283.4)
XYZxyz(6.8175, 3.5673, 25.9152)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C8E #748E1C
analogous
#1C3B8E #361C8E #6F1C8E
triadic
#361C8E #8E361C #1C8E36
tetradic
#361C8E #8E1C3B #748E1C #1C8E6F
square
#361C8E #8E1C3B #748E1C #1C8E6F
split-complementary
#361C8E #8E6F1C #3B8E1C
monochromatic
#0F0828 #23125B #361C8E #4926C1 #6B49DB

Accessibility & contrast

On white

12.25
#361C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#361C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C8E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C8E#FFFFFF#000000##FFFFFF
##361C8E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361c8e;
/* rgb */ color: rgb(54, 28, 142);
/* oklch */ color: oklch(34.9% 0.172 283.4);
Tailwind
colors: {
  custom: {
    50: '#795cb0',
    500: '#361c8e',
    950: '#000000',
  },
}
SCSS
$custom: #361c8e;
$custom-light: #795cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#361c8e",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 253.684,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34859,
    "c": 0.1722,
    "h": 283.4
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#361C8E
secondary
#A3BD49
accent
#EA3EC3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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