#361F97#361F97

#361F97 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.180 H 281.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#361F97
RGBrgb(54, 31, 151)
HSLhsl(252, 66%, 36%)
HSVhsv(252, 79%, 59%)
CMYKcmyk(64.2%, 79.5%, 0%, 40.8%)
CIE-LABlab(23.66, 44.40, -61.24)
CIE-LCHlch(23.66, 75.64, 305.94°)
OKLaboklab(36.18% 0.0352 -0.1767)
OKLCHoklch(36.18% 0.18 281.3)
XYZxyz(7.5955, 3.9980, 29.6436)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F97 #80971F
analogous
#1F4497 #361F97 #721F97
triadic
#361F97 #97361F #1F9736
tetradic
#361F97 #971F44 #80971F #1F9772
square
#361F97 #971F44 #80971F #1F9772
split-complementary
#361F97 #97721F #44971F
monochromatic
#120A31 #241564 #361F97 #4829CA #6E54DC

Accessibility & contrast

On white

11.67
#361F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#361F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F97
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F97#FFFFFF#000000##FFFFFF
##361F971.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #361f97;
/* rgb */ color: rgb(54, 31, 151);
/* oklch */ color: oklch(36.2% 0.180 281.3);
Tailwind
colors: {
  custom: {
    50: '#7b5fb7',
    500: '#361f97',
    950: '#000000',
  },
}
SCSS
$custom: #361f97;
$custom-light: #7b5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#361f97",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 251.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36177,
    "c": 0.18018,
    "h": 281.3
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#361F97
secondary
#ABBF52
accent
#E93FC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #361F97

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

Preview Lab → · Contrast checker → · Palette generator →

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