#361B9A#361B9A

#361B9A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.187 H 281.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#361B9A
RGBrgb(54, 27, 154)
HSLhsl(253, 70%, 35%)
HSVhsv(253, 82%, 60%)
CMYKcmyk(64.9%, 82.5%, 0%, 39.6%)
CIE-LABlab(23.34, 47.19, -63.62)
CIE-LCHlch(23.34, 79.21, 306.57°)
OKLaboklab(36.05% 0.0365 -0.1836)
OKLCHoklch(36.05% 0.187 281.2)
XYZxyz(7.7442, 3.9006, 30.9104)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B9A #7F9A1B
analogous
#1B3F9A #361B9A #751B9A
triadic
#361B9A #9A361B #1B9A36
tetradic
#361B9A #9A1B3F #7F9A1B #1B9A75
square
#361B9A #9A1B3F #7F9A1B #1B9A75
split-complementary
#361B9A #9A751B #3F9A1B
monochromatic
#110932 #241266 #361B9A #4824CE #6E4FE0

Accessibility & contrast

On white

11.80
#361B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B9A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B9A#FFFFFF#000000##FFFFFF
##361B9A1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #361b9a;
/* rgb */ color: rgb(54, 27, 154);
/* oklch */ color: oklch(36.0% 0.187 281.2);
Tailwind
colors: {
  custom: {
    50: '#7c5db9',
    500: '#361b9a',
    950: '#000000',
  },
}
SCSS
$custom: #361b9a;
$custom-light: #7c5db9;
$custom-dark: #000000;
JSON
{
  "hex": "#361b9a",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 252.756,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36049,
    "c": 0.18717,
    "h": 281.2
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #361B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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