#361F9C#361F9C

#361F9C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.186 H 280.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#361F9C
RGBrgb(54, 31, 156)
HSLhsl(251, 67%, 37%)
HSVhsv(251, 80%, 61%)
CMYKcmyk(65.4%, 80.1%, 0%, 38.8%)
CIE-LABlab(24.21, 45.91, -63.41)
CIE-LCHlch(24.21, 78.29, 305.91°)
OKLaboklab(36.71% 0.0338 -0.183)
OKLCHoklch(36.71% 0.186 280.4)
XYZxyz(8.0102, 4.1639, 31.8276)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F9C #859C1F
analogous
#1F479C #361F9C #751F9C
triadic
#361F9C #9C361F #1F9C36
tetradic
#361F9C #9C1F47 #859C1F #1F9C75
square
#361F9C #9C1F47 #859C1F #1F9C75
split-complementary
#361F9C #9C751F #479C1F
monochromatic
#130B36 #241569 #361F9C #4829CF #7058DE

Accessibility & contrast

On white

11.46
#361F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361F9C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F9C#FFFFFF#000000##FFFFFF
##361F9C1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #361f9c;
/* rgb */ color: rgb(54, 31, 156);
/* oklch */ color: oklch(36.7% 0.186 280.4);
Tailwind
colors: {
  custom: {
    50: '#7c5fba',
    500: '#361f9c',
    950: '#000000',
  },
}
SCSS
$custom: #361f9c;
$custom-light: #7c5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#361f9c",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 251.04,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36714,
    "c": 0.18613,
    "h": 280.4
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #361F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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