#361CA6#361CA6

#361CA6 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.5% C 0.200 H 279.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#361CA6
RGBrgb(54, 28, 166)
HSLhsl(251, 71%, 38%)
HSVhsv(251, 83%, 65%)
CMYKcmyk(67.5%, 83.1%, 0%, 34.9%)
CIE-LABlab(24.85, 50.27, -68.44)
CIE-LCHlch(24.85, 84.91, 306.30°)
OKLaboklab(37.49% 0.0321 -0.1976)
OKLCHoklch(37.49% 0.2 279.2)
XYZxyz(8.8173, 4.3672, 36.4473)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361CA6 #8CA61C
analogous
#1C47A6 #361CA6 #7B1CA6
triadic
#361CA6 #A6361C #1CA636
tetradic
#361CA6 #A61C47 #8CA61C #1CA67B
square
#361CA6 #A61C47 #8CA61C #1CA67B
split-complementary
#361CA6 #A67B1C #47A61C
monochromatic
#140A3D #251372 #361CA6 #4725DA #7359E3

Accessibility & contrast

On white

11.21
#361CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#361CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361CA6
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361CA6#FFFFFF#000000##FFFFFF
##361CA61.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #361ca6;
/* rgb */ color: rgb(54, 28, 166);
/* oklch */ color: oklch(37.5% 0.200 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e5ec2',
    500: '#361ca6',
    950: '#000000',
  },
}
SCSS
$custom: #361ca6;
$custom-light: #7e5ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#361ca6",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 251.304,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37489,
    "c": 0.2002,
    "h": 279.2
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#361CA6
secondary
#B2C757
accent
#EE3ACC
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #361CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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