#361F79#361F79

#361F79 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.143 H 287.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#361F79
RGBrgb(54, 31, 121)
HSLhsl(255, 59%, 30%)
HSVhsv(255, 74%, 47%)
CMYKcmyk(55.4%, 74.4%, 0%, 52.5%)
CIE-LABlab(20.61, 35.13, -47.46)
CIE-LCHlch(20.61, 59.04, 306.51°)
OKLaboklab(33.11% 0.0432 -0.1364)
OKLCHoklch(33.11% 0.143 287.6)
XYZxyz(5.4615, 3.1444, 18.4046)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F79 #62791F
analogous
#1F3579 #361F79 #631F79
triadic
#361F79 #79361F #1F7936
tetradic
#361F79 #791F35 #62791F #1F7963
square
#361F79 #791F35 #62791F #1F7963
split-complementary
#361F79 #79631F #35791F
monochromatic
#0B0618 #201348 #361F79 #4C2BAA #6743CF

Accessibility & contrast

On white

12.89
#361F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F79
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F79#FFFFFF#000000##FFFFFF
##361F791.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#1B374A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361f79;
/* rgb */ color: rgb(54, 31, 121);
/* oklch */ color: oklch(33.1% 0.143 287.6);
Tailwind
colors: {
  custom: {
    50: '#755da1',
    500: '#361f79',
    950: '#000000',
  },
}
SCSS
$custom: #361f79;
$custom-light: #755da1;
$custom-dark: #000000;
JSON
{
  "hex": "#361f79",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 255.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33109,
    "c": 0.14308,
    "h": 287.6
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#361F79
secondary
#93AC47
accent
#E245BA
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361F79

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

Preview Lab → · Contrast checker → · Palette generator →

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