#361C77#361C77

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

Color values

HEX#361C77
RGBrgb(54, 28, 119)
HSLhsl(257, 62%, 29%)
HSVhsv(257, 76%, 47%)
CMYKcmyk(54.6%, 76.5%, 0%, 53.3%)
CIE-LABlab(19.83, 36.17, -47.46)
CIE-LCHlch(19.83, 59.68, 307.31°)
OKLaboklab(32.49% 0.0464 -0.1364)
OKLCHoklch(32.49% 0.144 288.8)
XYZxyz(5.2654, 2.9464, 17.7405)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C77 #5D771C
analogous
#1C3077 #361C77 #641C77
triadic
#361C77 #77361C #1C7736
tetradic
#361C77 #771C30 #5D771C #1C7764
square
#361C77 #771C30 #5D771C #1C7764
split-complementary
#361C77 #77641C #30771C
monochromatic
#0B0619 #201045 #361C77 #4C28A9 #673CD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##361C77#FFFFFF#000000##FFFFFF
##361C771.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)
#00327A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#1D3548
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361c77;
/* rgb */ color: rgb(54, 28, 119);
/* oklch */ color: oklch(32.5% 0.144 288.8);
Tailwind
colors: {
  custom: {
    50: '#755b9f',
    500: '#361c77',
    950: '#000000',
  },
}
SCSS
$custom: #361c77;
$custom-light: #755b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#361c77",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 257.143,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32494,
    "c": 0.14409,
    "h": 288.8
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#361C77
secondary
#8EAB44
accent
#E543B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361C77

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

Preview Lab → · Contrast checker → · Palette generator →

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