#361A79#361A79

#361A79 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.149 H 288.6°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#361A79
RGBrgb(54, 26, 121)
HSLhsl(258, 65%, 29%)
HSVhsv(258, 79%, 47%)
CMYKcmyk(55.4%, 78.5%, 0%, 52.5%)
CIE-LABlab(19.65, 37.84, -49.03)
CIE-LCHlch(19.65, 61.93, 307.66°)
OKLaboklab(32.43% 0.0475 -0.141)
OKLCHoklch(32.43% 0.149 288.6)
XYZxyz(5.3409, 2.9033, 18.3644)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A79 #5D791A
analogous
#1A2E79 #361A79 #661A79
triadic
#361A79 #79361A #1A7936
tetradic
#361A79 #791A2E #5D791A #1A7966
square
#361A79 #791A2E #5D791A #1A7966
split-complementary
#361A79 #79661A #2E791A
monochromatic
#0B0519 #200F47 #361A79 #4C25AB #6739D4

Accessibility & contrast

On white

13.28
#361A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#361A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A79
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A79#FFFFFF#000000##FFFFFF
##361A791.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#1C3448
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361a79;
/* rgb */ color: rgb(54, 26, 121);
/* oklch */ color: oklch(32.4% 0.149 288.6);
Tailwind
colors: {
  custom: {
    50: '#755aa1',
    500: '#361a79',
    950: '#000000',
  },
}
SCSS
$custom: #361a79;
$custom-light: #755aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#361a79",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 257.684,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32431,
    "c": 0.1488,
    "h": 288.6
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#361A79
secondary
#8EAD41
accent
#E840B6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361A79

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

Preview Lab → · Contrast checker → · Palette generator →

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