#361A90#361A90

#361A90 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.176 H 283.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#361A90
RGBrgb(54, 26, 144)
HSLhsl(254, 69%, 33%)
HSVhsv(254, 82%, 56%)
CMYKcmyk(62.5%, 81.9%, 0%, 43.5%)
CIE-LABlab(22.07, 44.70, -59.53)
CIE-LCHlch(22.07, 74.45, 306.90°)
OKLaboklab(34.85% 0.0403 -0.1717)
OKLCHoklch(34.85% 0.176 283.2)
XYZxyz(6.9232, 3.5362, 26.6979)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A90 #74901A
analogous
#1A3990 #361A90 #711A90
triadic
#361A90 #90361A #1A9036
tetradic
#361A90 #901A39 #74901A #1A9071
square
#361A90 #901A39 #74901A #1A9071
split-complementary
#361A90 #90711A #39901A
monochromatic
#0F0728 #23115C #361A90 #4923C4 #6B47DE

Accessibility & contrast

On white

12.30
#361A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#361A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A90
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A90#FFFFFF#000000##FFFFFF
##361A901.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361a90;
/* rgb */ color: rgb(54, 26, 144);
/* oklch */ color: oklch(34.8% 0.176 283.2);
Tailwind
colors: {
  custom: {
    50: '#7a5bb2',
    500: '#361a90',
    950: '#000000',
  },
}
SCSS
$custom: #361a90;
$custom-light: #7a5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#361a90",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 254.237,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34846,
    "c": 0.17635,
    "h": 283.2
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#361A90
secondary
#A3BF47
accent
#EC3CC2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361A90

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

Preview Lab → · Contrast checker → · Palette generator →

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