#361F9F#361F9F

#361F9F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.190 H 280.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#361F9F
RGBrgb(54, 31, 159)
HSLhsl(251, 67%, 37%)
HSVhsv(251, 81%, 62%)
CMYKcmyk(66%, 80.5%, 0%, 37.6%)
CIE-LABlab(24.53, 46.82, -64.70)
CIE-LCHlch(24.53, 79.86, 305.89°)
OKLaboklab(37.04% 0.0329 -0.1868)
OKLCHoklch(37.04% 0.19 280)
XYZxyz(8.2673, 4.2668, 33.1821)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F9F #889F1F
analogous
#1F489F #361F9F #761F9F
triadic
#361F9F #9F361F #1F9F36
tetradic
#361F9F #9F1F48 #889F1F #1F9F76
square
#361F9F #9F1F48 #889F1F #1F9F76
split-complementary
#361F9F #9F761F #489F1F
monochromatic
#130B39 #25156C #361F9F #4729D2 #725ADF

Accessibility & contrast

On white

11.33
#361F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#361F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F9F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F9F#FFFFFF#000000##FFFFFF
##361F9F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #361f9f;
/* rgb */ color: rgb(54, 31, 159);
/* oklch */ color: oklch(37.0% 0.190 280.0);
Tailwind
colors: {
  custom: {
    50: '#7c5fbd',
    500: '#361f9f',
    950: '#000000',
  },
}
SCSS
$custom: #361f9f;
$custom-light: #7c5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#361f9f",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 250.781,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.18966,
    "h": 280
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#361F9F
secondary
#AFC357
accent
#EA3ECB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #361F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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