#361C98#361C98

#361C98 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.184 H 281.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#361C98
RGBrgb(54, 28, 152)
HSLhsl(253, 69%, 35%)
HSVhsv(253, 82%, 60%)
CMYKcmyk(64.5%, 81.6%, 0%, 40.4%)
CIE-LABlab(23.27, 46.14, -62.50)
CIE-LCHlch(23.27, 77.68, 306.44°)
OKLaboklab(35.94% 0.0366 -0.1803)
OKLCHoklch(35.94% 0.184 281.5)
XYZxyz(7.6023, 3.8812, 30.0482)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C98 #7E981C
analogous
#1C4098 #361C98 #741C98
triadic
#361C98 #98361C #1C9836
tetradic
#361C98 #981C40 #7E981C #1C9874
square
#361C98 #981C40 #7E981C #1C9874
split-complementary
#361C98 #98741C #40981C
monochromatic
#110931 #241264 #361C98 #4826CC #6E50DF

Accessibility & contrast

On white

11.82
#361C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#361C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C98
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C98#FFFFFF#000000##FFFFFF
##361C981.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9B
Deuteranopia (green-blind)
#003396
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361c98;
/* rgb */ color: rgb(54, 28, 152);
/* oklch */ color: oklch(35.9% 0.184 281.5);
Tailwind
colors: {
  custom: {
    50: '#7b5db8',
    500: '#361c98',
    950: '#000000',
  },
}
SCSS
$custom: #361c98;
$custom-light: #7b5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#361c98",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 252.581,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35938,
    "c": 0.18401,
    "h": 281.5
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #361C98

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

Preview Lab → · Contrast checker → · Palette generator →

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