#361E72#361E72

#361E72 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.135 H 289.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#361E72
RGBrgb(54, 30, 114)
HSLhsl(257, 58%, 28%)
HSVhsv(257, 74%, 45%)
CMYKcmyk(52.6%, 73.7%, 0%, 55.3%)
CIE-LABlab(19.75, 33.52, -44.37)
CIE-LCHlch(19.75, 55.61, 307.07°)
OKLaboklab(32.29% 0.0457 -0.1274)
OKLCHoklch(32.29% 0.135 289.7)
XYZxyz(5.0220, 2.9275, 16.2168)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E72 #5A721E
analogous
#1E3072 #361E72 #601E72
triadic
#361E72 #72361E #1E7236
tetradic
#361E72 #721E30 #5A721E #1E7260
square
#361E72 #721E30 #5A721E #1E7260
split-complementary
#361E72 #72601E #30721E
monochromatic
#0B0618 #1F1142 #361E72 #4D2BA2 #673ECC

Accessibility & contrast

On white

13.24
#361E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361E72
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E72#FFFFFF#000000##FFFFFF
##361E721.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#213445
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361e72;
/* rgb */ color: rgb(54, 30, 114);
/* oklch */ color: oklch(32.3% 0.135 289.7);
Tailwind
colors: {
  custom: {
    50: '#745c9b',
    500: '#361e72',
    950: '#000000',
  },
}
SCSS
$custom: #361e72;
$custom-light: #745c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361e72",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 257.143,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32294,
    "c": 0.13531,
    "h": 289.7
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#361E72
secondary
#8BA646
accent
#E246B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361E72

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

Preview Lab → · Contrast checker → · Palette generator →

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