#361B99#361B99

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

Color values

HEX#361B99
RGBrgb(54, 27, 153)
HSLhsl(253, 70%, 35%)
HSVhsv(253, 82%, 60%)
CMYKcmyk(64.7%, 82.4%, 0%, 40%)
CIE-LABlab(23.23, 46.90, -63.19)
CIE-LCHlch(23.23, 78.69, 306.58°)
OKLaboklab(35.94% 0.0368 -0.1823)
OKLCHoklch(35.94% 0.186 281.4)
XYZxyz(7.6612, 3.8675, 30.4736)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B99 #7E991B
analogous
#1B3F99 #361B99 #751B99
triadic
#361B99 #99361B #1B9936
tetradic
#361B99 #991B3F #7E991B #1B9975
square
#361B99 #991B3F #7E991B #1B9975
split-complementary
#361B99 #99751B #3F991B
monochromatic
#110931 #241265 #361B99 #4824CD #6E4FE0

Accessibility & contrast

On white

11.84
#361B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B99
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B99#FFFFFF#000000##FFFFFF
##361B991.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361b99;
/* rgb */ color: rgb(54, 27, 153);
/* oklch */ color: oklch(35.9% 0.186 281.4);
Tailwind
colors: {
  custom: {
    50: '#7b5db8',
    500: '#361b99',
    950: '#000000',
  },
}
SCSS
$custom: #361b99;
$custom-light: #7b5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#361b99",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 252.857,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35939,
    "c": 0.18601,
    "h": 281.4
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#361B99
secondary
#A9C24E
accent
#ED3BC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #361B99

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

Preview Lab → · Contrast checker → · Palette generator →

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