#361F77#361F77

#361F77 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.141 H 288.1°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#361F77
RGBrgb(54, 31, 119)
HSLhsl(256, 59%, 29%)
HSVhsv(256, 74%, 47%)
CMYKcmyk(54.6%, 73.9%, 0%, 53.3%)
CIE-LABlab(20.42, 34.50, -46.49)
CIE-LCHlch(20.42, 57.89, 306.58°)
OKLaboklab(32.92% 0.0436 -0.1336)
OKLCHoklch(32.92% 0.141 288.1)
XYZxyz(5.3401, 3.0959, 17.7654)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F77 #60771F
analogous
#1F3477 #361F77 #621F77
triadic
#361F77 #77361F #1F7736
tetradic
#361F77 #771F34 #60771F #1F7762
square
#361F77 #771F34 #60771F #1F7762
split-complementary
#361F77 #77621F #34771F
monochromatic
#0B0618 #201246 #361F77 #4C2CA8 #6743CE

Accessibility & contrast

On white

12.97
#361F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#361F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F77
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F77#FFFFFF#000000##FFFFFF
##361F771.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#1D3648
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361f77;
/* rgb */ color: rgb(54, 31, 119);
/* oklch */ color: oklch(32.9% 0.141 288.1);
Tailwind
colors: {
  custom: {
    50: '#745d9f',
    500: '#361f77',
    950: '#000000',
  },
}
SCSS
$custom: #361f77;
$custom-light: #745d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#361f77",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 255.682,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32917,
    "c": 0.14052,
    "h": 288.1
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#361F77
secondary
#91AB47
accent
#E246B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361F77

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

Preview Lab → · Contrast checker → · Palette generator →

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