#361CA8#361CA8

#361CA8 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.7% C 0.202 H 278.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#361CA8
RGBrgb(54, 28, 168)
HSLhsl(251, 71%, 38%)
HSVhsv(251, 83%, 66%)
CMYKcmyk(67.9%, 83.3%, 0%, 34.1%)
CIE-LABlab(25.08, 50.85, -69.27)
CIE-LCHlch(25.08, 85.93, 306.28°)
OKLaboklab(37.71% 0.0315 -0.2)
OKLCHoklch(37.71% 0.202 278.9)
XYZxyz(9.0022, 4.4412, 37.4210)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361CA8 #8EA81C
analogous
#1C48A8 #361CA8 #7C1CA8
triadic
#361CA8 #A8361C #1CA836
tetradic
#361CA8 #A81C48 #8EA81C #1CA87C
square
#361CA8 #A81C48 #8EA81C #1CA87C
split-complementary
#361CA8 #A87C1C #48A81C
monochromatic
#140B3F #251374 #361CA8 #4826DB #745BE4

Accessibility & contrast

On white

11.12
#361CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#361CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361CA8
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361CA8#FFFFFF#000000##FFFFFF
##361CA81.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #361ca8;
/* rgb */ color: rgb(54, 28, 168);
/* oklch */ color: oklch(37.7% 0.202 278.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ec3',
    500: '#361ca8',
    950: '#000000',
  },
}
SCSS
$custom: #361ca8;
$custom-light: #7e5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#361ca8",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 251.143,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37714,
    "c": 0.20248,
    "h": 278.9
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#361CA8
secondary
#B3C758
accent
#EE3ACD
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #361CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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