#361B94#361B94

#361B94 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.180 H 282.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#361B94
RGBrgb(54, 27, 148)
HSLhsl(253, 69%, 34%)
HSVhsv(253, 82%, 58%)
CMYKcmyk(63.5%, 81.8%, 0%, 42%)
CIE-LABlab(22.67, 45.42, -61.02)
CIE-LCHlch(22.67, 76.07, 306.66°)
OKLaboklab(35.39% 0.0385 -0.176)
OKLCHoklch(35.39% 0.18 282.3)
XYZxyz(7.2569, 3.7057, 28.3441)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B94 #79941B
analogous
#1B3D94 #361B94 #731B94
triadic
#361B94 #94361B #1B9436
tetradic
#361B94 #941B3D #79941B #1B9473
square
#361B94 #941B3D #79941B #1B9473
split-complementary
#361B94 #94731B #3D941B
monochromatic
#10082C #231260 #361B94 #4924C8 #6C4BDE

Accessibility & contrast

On white

12.06
#361B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#361B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B94
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B94#FFFFFF#000000##FFFFFF
##361B941.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361b94;
/* rgb */ color: rgb(54, 27, 148);
/* oklch */ color: oklch(35.4% 0.180 282.3);
Tailwind
colors: {
  custom: {
    50: '#7a5cb5',
    500: '#361b94',
    950: '#000000',
  },
}
SCSS
$custom: #361b94;
$custom-light: #7a5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361b94",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 253.388,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35391,
    "c": 0.18018,
    "h": 282.3
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#361B94
secondary
#A6C04B
accent
#EC3CC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361B94

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

Preview Lab → · Contrast checker → · Palette generator →

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