#361BA7#361BA7

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

Color values

HEX#361BA7
RGBrgb(54, 27, 167)
HSLhsl(252, 72%, 38%)
HSVhsv(252, 84%, 65%)
CMYKcmyk(67.7%, 83.8%, 0%, 34.5%)
CIE-LABlab(24.82, 50.99, -69.09)
CIE-LCHlch(24.82, 85.87, 306.42°)
OKLaboklab(37.5% 0.0322 -0.1995)
OKLCHoklch(37.5% 0.202 279.2)
XYZxyz(8.8861, 4.3574, 36.9245)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361BA7 #8CA71B
analogous
#1B46A7 #361BA7 #7C1BA7
triadic
#361BA7 #A7361B #1BA736
tetradic
#361BA7 #A71B46 #8CA71B #1BA77C
square
#361BA7 #A71B46 #8CA71B #1BA77C
split-complementary
#361BA7 #A77C1B #46A71B
monochromatic
#140A3E #251272 #361BA7 #4724DC #7358E4

Accessibility & contrast

On white

11.22
#361BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361BA7
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361BA7#FFFFFF#000000##FFFFFF
##361BA71.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361ba7;
/* rgb */ color: rgb(54, 27, 167);
/* oklch */ color: oklch(37.5% 0.202 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e5ec3',
    500: '#361ba7',
    950: '#000000',
  },
}
SCSS
$custom: #361ba7;
$custom-light: #7e5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#361ba7",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 251.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.20208,
    "h": 279.2
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#361BA7
secondary
#B2C856
accent
#EF39CC
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #361BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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