#361B93#361B93

#361B93 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.179 H 282.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#361B93
RGBrgb(54, 27, 147)
HSLhsl(254, 69%, 34%)
HSVhsv(254, 82%, 58%)
CMYKcmyk(63.3%, 81.6%, 0%, 42.4%)
CIE-LABlab(22.56, 45.12, -60.59)
CIE-LCHlch(22.56, 75.54, 306.68°)
OKLaboklab(35.28% 0.0388 -0.1747)
OKLCHoklch(35.28% 0.179 282.5)
XYZxyz(7.1781, 3.6742, 27.9290)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B93 #78931B
analogous
#1B3C93 #361B93 #721B93
triadic
#361B93 #93361B #1B9336
tetradic
#361B93 #931B3C #78931B #1B9372
square
#361B93 #931B3C #78931B #1B9372
split-complementary
#361B93 #93721B #3C931B
monochromatic
#10082C #23125F #361B93 #4924C7 #6C4BDE

Accessibility & contrast

On white

12.10
#361B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B93
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B93#FFFFFF#000000##FFFFFF
##361B931.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361b93;
/* rgb */ color: rgb(54, 27, 147);
/* oklch */ color: oklch(35.3% 0.179 282.5);
Tailwind
colors: {
  custom: {
    50: '#7a5cb4',
    500: '#361b93',
    950: '#000000',
  },
}
SCSS
$custom: #361b93;
$custom-light: #7a5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#361b93",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 253.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35282,
    "c": 0.179,
    "h": 282.5
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#361B93
secondary
#A5C04A
accent
#EC3CC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361B93

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

Preview Lab → · Contrast checker → · Palette generator →

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