#361F9D#361F9D

#361F9D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.187 H 280.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#361F9D
RGBrgb(54, 31, 157)
HSLhsl(251, 67%, 37%)
HSVhsv(251, 80%, 62%)
CMYKcmyk(65.6%, 80.3%, 0%, 38.4%)
CIE-LABlab(24.32, 46.22, -63.84)
CIE-LCHlch(24.32, 78.82, 305.90°)
OKLaboklab(36.82% 0.0335 -0.1843)
OKLCHoklch(36.82% 0.187 280.3)
XYZxyz(8.0952, 4.1979, 32.2754)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F9D #869D1F
analogous
#1F479D #361F9D #751F9D
triadic
#361F9D #9D361F #1F9D36
tetradic
#361F9D #9D1F47 #869D1F #1F9D75
square
#361F9D #9D1F47 #869D1F #1F9D75
split-complementary
#361F9D #9D751F #479D1F
monochromatic
#130B37 #24156A #361F9D #4829D0 #7158DE

Accessibility & contrast

On white

11.41
#361F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#361F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F9D
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F9D#FFFFFF#000000##FFFFFF
##361F9D1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #361f9d;
/* rgb */ color: rgb(54, 31, 157);
/* oklch */ color: oklch(36.8% 0.187 280.3);
Tailwind
colors: {
  custom: {
    50: '#7c5fbb',
    500: '#361f9d',
    950: '#000000',
  },
}
SCSS
$custom: #361f9d;
$custom-light: #7c5fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#361f9d",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 250.952,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.1873,
    "h": 280.3
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#361F9D
secondary
#AEC256
accent
#EA3ECB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #361F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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