#361A9A#361A9A

#361A9A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.188 H 281.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#361A9A
RGBrgb(54, 26, 154)
HSLhsl(253, 71%, 35%)
HSVhsv(253, 83%, 60%)
CMYKcmyk(64.9%, 83.1%, 0%, 39.6%)
CIE-LABlab(23.19, 47.64, -63.87)
CIE-LCHlch(23.19, 79.68, 306.72°)
OKLaboklab(35.94% 0.037 -0.1843)
OKLCHoklch(35.94% 0.188 281.4)
XYZxyz(7.7216, 3.8556, 30.9029)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A9A #7E9A1A
analogous
#1A3E9A #361A9A #761A9A
triadic
#361A9A #9A361A #1A9A36
tetradic
#361A9A #9A1A3E #7E9A1A #1A9A76
square
#361A9A #9A1A3E #7E9A1A #1A9A76
split-complementary
#361A9A #9A761A #3E9A1A
monochromatic
#110831 #241166 #361A9A #4823CE #6E4DE1

Accessibility & contrast

On white

11.86
#361A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#361A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A9A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A9A#FFFFFF#000000##FFFFFF
##361A9A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361a9a;
/* rgb */ color: rgb(54, 26, 154);
/* oklch */ color: oklch(35.9% 0.188 281.4);
Tailwind
colors: {
  custom: {
    50: '#7c5cb9',
    500: '#361a9a',
    950: '#000000',
  },
}
SCSS
$custom: #361a9a;
$custom-light: #7c5cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#361a9a",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 154
  },
  "hsl": {
    "h": 253.125,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35944,
    "c": 0.18798,
    "h": 281.4
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#361A9A
secondary
#A9C34D
accent
#EE3AC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #361A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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