#361E98#361E98

#361E98 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.182 H 281.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#361E98
RGBrgb(54, 30, 152)
HSLhsl(252, 67%, 36%)
HSVhsv(252, 80%, 60%)
CMYKcmyk(64.5%, 80.3%, 0%, 40.4%)
CIE-LABlab(23.60, 45.19, -61.95)
CIE-LCHlch(23.60, 76.69, 306.11°)
OKLaboklab(36.17% 0.0355 -0.1788)
OKLCHoklch(36.17% 0.182 281.2)
XYZxyz(7.6513, 3.9792, 30.0645)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E98 #80981E
analogous
#1E4398 #361E98 #731E98
triadic
#361E98 #98361E #1E9836
tetradic
#361E98 #981E43 #80981E #1E9873
square
#361E98 #981E43 #80981E #1E9873
split-complementary
#361E98 #98731E #43981E
monochromatic
#120A32 #241465 #361E98 #4828CB #6E53DD

Accessibility & contrast

On white

11.69
#361E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#361E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E98
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E98#FFFFFF#000000##FFFFFF
##361E981.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #361e98;
/* rgb */ color: rgb(54, 30, 152);
/* oklch */ color: oklch(36.2% 0.182 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b5eb8',
    500: '#361e98',
    950: '#000000',
  },
}
SCSS
$custom: #361e98;
$custom-light: #7b5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#361e98",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 251.803,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.18227,
    "h": 281.2
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#361E98
secondary
#ABC051
accent
#EA3EC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #361E98

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

Preview Lab → · Contrast checker → · Palette generator →

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