#361A93#361A93

#361A93 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.180 H 282.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#361A93
RGBrgb(54, 26, 147)
HSLhsl(254, 70%, 34%)
HSVhsv(254, 82%, 58%)
CMYKcmyk(63.3%, 82.3%, 0%, 42.4%)
CIE-LABlab(22.41, 45.58, -60.85)
CIE-LCHlch(22.41, 76.03, 306.84°)
OKLaboklab(35.17% 0.0394 -0.1755)
OKLCHoklch(35.17% 0.18 282.6)
XYZxyz(7.1555, 3.6291, 27.9215)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A93 #77931A
analogous
#1A3B93 #361A93 #731A93
triadic
#361A93 #93361A #1A9336
tetradic
#361A93 #931A3B #77931A #1A9373
square
#361A93 #931A3B #77931A #1A9373
split-complementary
#361A93 #93731A #3B931A
monochromatic
#10082B #23115F #361A93 #4923C7 #6B49DF

Accessibility & contrast

On white

12.17
#361A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#361A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A93
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A93#FFFFFF#000000##FFFFFF
##361A931.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361a93;
/* rgb */ color: rgb(54, 26, 147);
/* oklch */ color: oklch(35.2% 0.180 282.6);
Tailwind
colors: {
  custom: {
    50: '#7a5cb4',
    500: '#361a93',
    950: '#000000',
  },
}
SCSS
$custom: #361a93;
$custom-light: #7a5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#361a93",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 253.884,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.17986,
    "h": 282.6
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#361A93
secondary
#A5C048
accent
#ED3BC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361A93

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

Preview Lab → · Contrast checker → · Palette generator →

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