#361C79#361C79

#361C79 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.147 H 288.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#361C79
RGBrgb(54, 28, 121)
HSLhsl(257, 62%, 29%)
HSVhsv(257, 77%, 47%)
CMYKcmyk(55.4%, 76.9%, 0%, 52.5%)
CIE-LABlab(20.02, 36.78, -48.42)
CIE-LCHlch(20.02, 60.81, 307.22°)
OKLaboklab(32.69% 0.0459 -0.1392)
OKLCHoklch(32.69% 0.147 288.2)
XYZxyz(5.3868, 2.9950, 18.3797)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C79 #5F791C
analogous
#1C3179 #361C79 #651C79
triadic
#361C79 #79361C #1C7936
tetradic
#361C79 #791C31 #5F791C #1C7965
square
#361C79 #791C31 #5F791C #1C7965
split-complementary
#361C79 #79651C #31791C
monochromatic
#0B0619 #201047 #361C79 #4C28AB #673DD2

Accessibility & contrast

On white

13.13
#361C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#361C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C79
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C79#FFFFFF#000000##FFFFFF
##361C791.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361c79;
/* rgb */ color: rgb(54, 28, 121);
/* oklch */ color: oklch(32.7% 0.147 288.2);
Tailwind
colors: {
  custom: {
    50: '#755ba1',
    500: '#361c79',
    950: '#000000',
  },
}
SCSS
$custom: #361c79;
$custom-light: #755ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#361c79",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 256.774,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32692,
    "c": 0.14659,
    "h": 288.2
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#361C79
secondary
#90AD44
accent
#E542B8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361C79

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

Preview Lab → · Contrast checker → · Palette generator →

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