#361B79#361B79

#361B79 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.148 H 288.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#361B79
RGBrgb(54, 27, 121)
HSLhsl(257, 64%, 29%)
HSVhsv(257, 78%, 47%)
CMYKcmyk(55.4%, 77.7%, 0%, 52.5%)
CIE-LABlab(19.84, 37.31, -48.73)
CIE-LCHlch(19.84, 61.38, 307.44°)
OKLaboklab(32.56% 0.0467 -0.1401)
OKLCHoklch(32.56% 0.148 288.4)
XYZxyz(5.3634, 2.9484, 18.3719)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B79 #5E791B
analogous
#1B2F79 #361B79 #651B79
triadic
#361B79 #79361B #1B7936
tetradic
#361B79 #791B2F #5E791B #1B7965
square
#361B79 #791B2F #5E791B #1B7965
split-complementary
#361B79 #79651B #2F791B
monochromatic
#0B0619 #201047 #361B79 #4C26AB #673BD3

Accessibility & contrast

On white

13.21
#361B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#361B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B79
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B79#FFFFFF#000000##FFFFFF
##361B791.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361b79;
/* rgb */ color: rgb(54, 27, 121);
/* oklch */ color: oklch(32.6% 0.148 288.4);
Tailwind
colors: {
  custom: {
    50: '#755ba1',
    500: '#361b79',
    950: '#000000',
  },
}
SCSS
$custom: #361b79;
$custom-light: #755ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#361b79",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 257.234,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3256,
    "c": 0.1477,
    "h": 288.4
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#361B79
secondary
#8FAD43
accent
#E741B7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B79

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

Preview Lab → · Contrast checker → · Palette generator →

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