#361B90#361B90

#361B90 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.175 H 283.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#361B90
RGBrgb(54, 27, 144)
HSLhsl(254, 68%, 34%)
HSVhsv(254, 81%, 56%)
CMYKcmyk(62.5%, 81.3%, 0%, 43.5%)
CIE-LABlab(22.24, 44.23, -59.27)
CIE-LCHlch(22.24, 73.95, 306.73°)
OKLaboklab(34.96% 0.0398 -0.1709)
OKLCHoklch(34.96% 0.175 283.1)
XYZxyz(6.9457, 3.5813, 26.7054)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B90 #75901B
analogous
#1B3A90 #361B90 #701B90
triadic
#361B90 #90361B #1B9036
tetradic
#361B90 #901B3A #75901B #1B9070
square
#361B90 #901B3A #75901B #1B9070
split-complementary
#361B90 #90701B #3A901B
monochromatic
#0F0829 #23115C #361B90 #4925C4 #6B49DD

Accessibility & contrast

On white

12.23
#361B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#361B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B90
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B90#FFFFFF#000000##FFFFFF
##361B901.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361b90;
/* rgb */ color: rgb(54, 27, 144);
/* oklch */ color: oklch(35.0% 0.175 283.1);
Tailwind
colors: {
  custom: {
    50: '#7a5cb2',
    500: '#361b90',
    950: '#000000',
  },
}
SCSS
$custom: #361b90;
$custom-light: #7a5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#361b90",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 253.846,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.17547,
    "h": 283.1
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#361B90
secondary
#A3BF48
accent
#EB3DC3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361B90

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

Preview Lab → · Contrast checker → · Palette generator →

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