#361E71#361E71

#361E71 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.134 H 290.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#361E71
RGBrgb(54, 30, 113)
HSLhsl(257, 58%, 28%)
HSVhsv(257, 73%, 44%)
CMYKcmyk(52.2%, 73.5%, 0%, 55.7%)
CIE-LABlab(19.66, 33.21, -43.88)
CIE-LCHlch(19.66, 55.03, 307.12°)
OKLaboklab(32.2% 0.0459 -0.1259)
OKLCHoklch(32.2% 0.134 290)
XYZxyz(4.9654, 2.9049, 15.9186)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E71 #59711E
analogous
#1E3071 #361E71 #5F1E71
triadic
#361E71 #71361E #1E7136
tetradic
#361E71 #711E30 #59711E #1E715F
square
#361E71 #711E30 #59711E #1E715F
split-complementary
#361E71 #715F1E #30711E
monochromatic
#0C0618 #1F1141 #361E71 #4D2BA1 #673ECC

Accessibility & contrast

On white

13.28
#361E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361E71
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E71#FFFFFF#000000##FFFFFF
##361E711.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#223345
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361e71;
/* rgb */ color: rgb(54, 30, 113);
/* oklch */ color: oklch(32.2% 0.134 290.0);
Tailwind
colors: {
  custom: {
    50: '#745c9b',
    500: '#361e71',
    950: '#000000',
  },
}
SCSS
$custom: #361e71;
$custom-light: #745c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361e71",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 257.349,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32199,
    "c": 0.13401,
    "h": 290
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#361E71
secondary
#8AA546
accent
#E147B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361E71

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

Preview Lab → · Contrast checker → · Palette generator →

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