#361F95#361F95

#361F95 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.178 H 281.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#361F95
RGBrgb(54, 31, 149)
HSLhsl(252, 66%, 35%)
HSVhsv(252, 79%, 58%)
CMYKcmyk(63.8%, 79.2%, 0%, 41.6%)
CIE-LABlab(23.45, 43.79, -60.36)
CIE-LCHlch(23.45, 74.57, 305.96°)
OKLaboklab(35.96% 0.0358 -0.1741)
OKLCHoklch(35.96% 0.178 281.6)
XYZxyz(7.4344, 3.9336, 28.7954)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F95 #7E951F
analogous
#1F4395 #361F95 #711F95
triadic
#361F95 #95361F #1F9536
tetradic
#361F95 #951F43 #7E951F #1F9571
square
#361F95 #951F43 #7E951F #1F9571
split-complementary
#361F95 #95711F #43951F
monochromatic
#110A30 #241462 #361F95 #482AC8 #6E53DB

Accessibility & contrast

On white

11.75
#361F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#361F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F95
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F95#FFFFFF#000000##FFFFFF
##361F951.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #361f95;
/* rgb */ color: rgb(54, 31, 149);
/* oklch */ color: oklch(36.0% 0.178 281.6);
Tailwind
colors: {
  custom: {
    50: '#7a5eb5',
    500: '#361f95',
    950: '#000000',
  },
}
SCSS
$custom: #361f95;
$custom-light: #7a5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361f95",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 251.695,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35964,
    "c": 0.17778,
    "h": 281.6
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#361F95
secondary
#A9BF51
accent
#E93FC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #361F95

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

Preview Lab → · Contrast checker → · Palette generator →

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