#361A95#361A95

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

Color values

HEX#361A95
RGBrgb(54, 26, 149)
HSLhsl(254, 70%, 34%)
HSVhsv(254, 83%, 58%)
CMYKcmyk(63.8%, 82.6%, 0%, 41.6%)
CIE-LABlab(22.63, 46.17, -61.72)
CIE-LCHlch(22.63, 77.08, 306.80°)
OKLaboklab(35.39% 0.0387 -0.178)
OKLCHoklch(35.39% 0.182 282.3)
XYZxyz(7.3138, 3.6925, 28.7552)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A95 #79951A
analogous
#1A3B95 #361A95 #741A95
triadic
#361A95 #95361A #1A9536
tetradic
#361A95 #951A3B #79951A #1A9574
square
#361A95 #951A3B #79951A #1A9574
split-complementary
#361A95 #95741A #3B951A
monochromatic
#10082D #231161 #361A95 #4923C9 #6C4ADF

Accessibility & contrast

On white

12.08
#361A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361A95
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A95#FFFFFF#000000##FFFFFF
##361A951.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361a95;
/* rgb */ color: rgb(54, 26, 149);
/* oklch */ color: oklch(35.4% 0.182 282.3);
Tailwind
colors: {
  custom: {
    50: '#7b5cb5',
    500: '#361a95',
    950: '#000000',
  },
}
SCSS
$custom: #361a95;
$custom-light: #7b5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361a95",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 253.659,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35392,
    "c": 0.18218,
    "h": 282.3
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#361A95
secondary
#A6C14A
accent
#ED3BC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361A95

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

Preview Lab → · Contrast checker → · Palette generator →

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