#361AB3#361AB3

#361AB3 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.8% C 0.216 H 277.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#361AB3
RGBrgb(54, 26, 179)
HSLhsl(251, 75%, 40%)
HSVhsv(251, 85%, 70%)
CMYKcmyk(69.8%, 85.5%, 0%, 29.8%)
CIE-LABlab(26.09, 54.82, -74.20)
CIE-LCHlch(26.09, 92.26, 306.46°)
OKLaboklab(38.78% 0.0286 -0.2143)
OKLCHoklch(38.78% 0.216 277.6)
XYZxyz(10.0248, 4.7768, 43.0328)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361AB3 #97B31A
analogous
#1A4BB3 #361AB3 #821AB3
triadic
#361AB3 #B3361A #1AB336
tetradic
#361AB3 #B31A4B #97B31A #1AB382
square
#361AB3 #B31A4B #97B31A #1AB382
split-complementary
#361AB3 #B3821A #4BB31A
monochromatic
#160A48 #26127E #361AB3 #4B2AE0 #7860E8

Accessibility & contrast

On white

10.74
#361AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#361AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361AB3
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361AB3#FFFFFF#000000##FFFFFF
##361AB31.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0037B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #361ab3;
/* rgb */ color: rgb(54, 26, 179);
/* oklch */ color: oklch(38.8% 0.216 277.6);
Tailwind
colors: {
  custom: {
    50: '#815ecb',
    500: '#361ab3',
    950: '#000000',
  },
}
SCSS
$custom: #361ab3;
$custom-light: #815ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#361ab3",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 250.98,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38779,
    "c": 0.21622,
    "h": 277.6
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#361AB3
secondary
#B8CC5D
accent
#F137CF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #361AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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