#361E95#361E95

#361E95 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.179 H 281.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#361E95
RGBrgb(54, 30, 149)
HSLhsl(252, 66%, 35%)
HSVhsv(252, 80%, 58%)
CMYKcmyk(63.8%, 79.9%, 0%, 41.6%)
CIE-LABlab(23.28, 44.28, -60.64)
CIE-LCHlch(23.28, 75.09, 306.14°)
OKLaboklab(35.84% 0.0364 -0.1749)
OKLCHoklch(35.84% 0.179 281.8)
XYZxyz(7.4087, 3.8822, 28.7869)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E95 #7D951E
analogous
#1E4195 #361E95 #721E95
triadic
#361E95 #95361E #1E9536
tetradic
#361E95 #951E41 #7D951E #1E9572
square
#361E95 #951E41 #7D951E #1E9572
split-complementary
#361E95 #95721E #41951E
monochromatic
#11092F #241462 #361E95 #4828C8 #6D51DC

Accessibility & contrast

On white

11.82
#361E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#361E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E95
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E95#FFFFFF#000000##FFFFFF
##361E951.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361e95;
/* rgb */ color: rgb(54, 30, 149);
/* oklch */ color: oklch(35.8% 0.179 281.8);
Tailwind
colors: {
  custom: {
    50: '#7a5eb5',
    500: '#361e95',
    950: '#000000',
  },
}
SCSS
$custom: #361e95;
$custom-light: #7a5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361e95",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 252.101,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35843,
    "c": 0.1787,
    "h": 281.8
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#361E95
secondary
#A9BF50
accent
#E93EC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361E95

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

Preview Lab → · Contrast checker → · Palette generator →

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