#361AB4#361AB4

#361AB4 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.9% C 0.217 H 277.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#361AB4
RGBrgb(54, 26, 180)
HSLhsl(251, 75%, 40%)
HSVhsv(251, 86%, 71%)
CMYKcmyk(70%, 85.6%, 0%, 29.4%)
CIE-LABlab(26.21, 55.10, -74.60)
CIE-LCHlch(26.21, 92.75, 306.45°)
OKLaboklab(38.89% 0.0283 -0.2155)
OKLCHoklch(38.89% 0.217 277.5)
XYZxyz(10.1263, 4.8174, 43.5674)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361AB4 #98B41A
analogous
#1A4BB4 #361AB4 #831AB4
triadic
#361AB4 #B4361A #1AB436
tetradic
#361AB4 #B41A4B #98B41A #1AB483
square
#361AB4 #B41A4B #98B41A #1AB483
split-complementary
#361AB4 #B4831A #4BB41A
monochromatic
#160B49 #26127F #361AB4 #4C2BE0 #7960E8

Accessibility & contrast

On white

10.69
#361AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361AB4
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361AB4#FFFFFF#000000##FFFFFF
##361AB41.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #361ab4;
/* rgb */ color: rgb(54, 26, 180);
/* oklch */ color: oklch(38.9% 0.217 277.5);
Tailwind
colors: {
  custom: {
    50: '#815ecc',
    500: '#361ab4',
    950: '#000000',
  },
}
SCSS
$custom: #361ab4;
$custom-light: #815ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#361ab4",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 250.909,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38894,
    "c": 0.21734,
    "h": 277.5
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #361AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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