#361C76#361C76

#361C76 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.143 H 289.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#361C76
RGBrgb(54, 28, 118)
HSLhsl(257, 62%, 29%)
HSVhsv(257, 76%, 46%)
CMYKcmyk(54.2%, 76.3%, 0%, 53.7%)
CIE-LABlab(19.73, 35.87, -46.98)
CIE-LCHlch(19.73, 59.11, 307.36°)
OKLaboklab(32.4% 0.0466 -0.135)
OKLCHoklch(32.4% 0.143 289.1)
XYZxyz(5.2056, 2.9225, 17.4258)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C76 #5C761C
analogous
#1C2F76 #361C76 #631C76
triadic
#361C76 #76361C #1C7636
tetradic
#361C76 #761C2F #5C761C #1C7663
square
#361C76 #761C2F #5C761C #1C7663
split-complementary
#361C76 #76631C #2F761C
monochromatic
#0B0619 #1F1045 #361C76 #4D28A7 #673CD1

Accessibility & contrast

On white

13.25
#361C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#361C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C76
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C76#FFFFFF#000000##FFFFFF
##361C761.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#1E3447
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361c76;
/* rgb */ color: rgb(54, 28, 118);
/* oklch */ color: oklch(32.4% 0.143 289.1);
Tailwind
colors: {
  custom: {
    50: '#755b9e',
    500: '#361c76',
    950: '#000000',
  },
}
SCSS
$custom: #361c76;
$custom-light: #755b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#361c76",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 257.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32396,
    "c": 0.14283,
    "h": 289.1
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#361C76
secondary
#8DAA44
accent
#E543B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361C76

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

Preview Lab → · Contrast checker → · Palette generator →

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