#361F9B#361F9B

#361F9B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.185 H 280.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#361F9B
RGBrgb(54, 31, 155)
HSLhsl(251, 67%, 36%)
HSVhsv(251, 80%, 61%)
CMYKcmyk(65.2%, 80%, 0%, 39.2%)
CIE-LABlab(24.10, 45.61, -62.98)
CIE-LCHlch(24.10, 77.76, 305.91°)
OKLaboklab(36.61% 0.034 -0.1818)
OKLCHoklch(36.61% 0.185 280.6)
XYZxyz(7.9258, 4.1302, 31.3835)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F9B #849B1F
analogous
#1F469B #361F9B #741F9B
triadic
#361F9B #9B361F #1F9B36
tetradic
#361F9B #9B1F46 #849B1F #1F9B74
square
#361F9B #9B1F46 #849B1F #1F9B74
split-complementary
#361F9B #9B741F #469B1F
monochromatic
#120B35 #241568 #361F9B #4829CE #7057DD

Accessibility & contrast

On white

11.50
#361F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#361F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F9B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F9B#FFFFFF#000000##FFFFFF
##361F9B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #361f9b;
/* rgb */ color: rgb(54, 31, 155);
/* oklch */ color: oklch(36.6% 0.185 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b5fba',
    500: '#361f9b',
    950: '#000000',
  },
}
SCSS
$custom: #361f9b;
$custom-light: #7b5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#361f9b",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 251.129,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36606,
    "c": 0.18494,
    "h": 280.6
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#361F9B
secondary
#ADC155
accent
#EA3ECA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #361F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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