#361B98#361B98

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

Color values

HEX#361B98
RGBrgb(54, 27, 152)
HSLhsl(253, 70%, 35%)
HSVhsv(253, 82%, 60%)
CMYKcmyk(64.5%, 82.2%, 0%, 40.4%)
CIE-LABlab(23.12, 46.60, -62.76)
CIE-LCHlch(23.12, 78.17, 306.60°)
OKLaboklab(35.83% 0.0372 -0.1811)
OKLCHoklch(35.83% 0.185 281.6)
XYZxyz(7.5790, 3.8346, 30.0404)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B98 #7D981B
analogous
#1B3F98 #361B98 #741B98
triadic
#361B98 #98361B #1B9836
tetradic
#361B98 #981B3F #7D981B #1B9874
square
#361B98 #981B3F #7D981B #1B9874
split-complementary
#361B98 #98741B #3F981B
monochromatic
#110930 #241264 #361B98 #4824CC #6D4EE0

Accessibility & contrast

On white

11.88
#361B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B98
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B98#FFFFFF#000000##FFFFFF
##361B981.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361b98;
/* rgb */ color: rgb(54, 27, 152);
/* oklch */ color: oklch(35.8% 0.185 281.6);
Tailwind
colors: {
  custom: {
    50: '#7b5cb8',
    500: '#361b98',
    950: '#000000',
  },
}
SCSS
$custom: #361b98;
$custom-light: #7b5cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#361b98",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 252.96,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35829,
    "c": 0.18485,
    "h": 281.6
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#361B98
secondary
#A9C24D
accent
#ED3BC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361B98

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

Preview Lab → · Contrast checker → · Palette generator →

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