#361C97#361C97

#361C97 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.183 H 281.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#361C97
RGBrgb(54, 28, 151)
HSLhsl(253, 69%, 35%)
HSVhsv(253, 81%, 59%)
CMYKcmyk(64.2%, 81.5%, 0%, 40.8%)
CIE-LABlab(23.16, 45.84, -62.06)
CIE-LCHlch(23.16, 77.16, 306.45°)
OKLaboklab(35.83% 0.0369 -0.1791)
OKLCHoklch(35.83% 0.183 281.7)
XYZxyz(7.5207, 3.8486, 29.6187)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C97 #7D971C
analogous
#1C3F97 #361C97 #731C97
triadic
#361C97 #97361C #1C9736
tetradic
#361C97 #971C3F #7D971C #1C9773
square
#361C97 #971C3F #7D971C #1C9773
split-complementary
#361C97 #97731C #3F971C
monochromatic
#110930 #241263 #361C97 #4826CB #6D4FDE

Accessibility & contrast

On white

11.87
#361C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#361C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C97
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C97#FFFFFF#000000##FFFFFF
##361C971.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361c97;
/* rgb */ color: rgb(54, 28, 151);
/* oklch */ color: oklch(35.8% 0.183 281.7);
Tailwind
colors: {
  custom: {
    50: '#7b5db7',
    500: '#361c97',
    950: '#000000',
  },
}
SCSS
$custom: #361c97;
$custom-light: #7b5db7;
$custom-dark: #000000;
JSON
{
  "hex": "#361c97",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 252.683,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35829,
    "c": 0.18284,
    "h": 281.7
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#361C97
secondary
#A9C14E
accent
#EC3CC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361C97

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

Preview Lab → · Contrast checker → · Palette generator →

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