#361BA8#361BA8

#361BA8 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.6% C 0.203 H 279.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#361BA8
RGBrgb(54, 27, 168)
HSLhsl(251, 72%, 38%)
HSVhsv(251, 84%, 66%)
CMYKcmyk(67.9%, 83.9%, 0%, 34.1%)
CIE-LABlab(24.93, 51.27, -69.51)
CIE-LCHlch(24.93, 86.37, 306.42°)
OKLaboklab(37.61% 0.0319 -0.2007)
OKLCHoklch(37.61% 0.203 279)
XYZxyz(8.9789, 4.3945, 37.4133)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361BA8 #8DA81B
analogous
#1B47A8 #361BA8 #7C1BA8
triadic
#361BA8 #A8361B #1BA836
tetradic
#361BA8 #A81B47 #8DA81B #1BA87C
square
#361BA8 #A81B47 #8DA81B #1BA87C
split-complementary
#361BA8 #A87C1B #47A81B
monochromatic
#140A3F #251373 #361BA8 #4724DC #7459E4

Accessibility & contrast

On white

11.18
#361BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#361BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361BA8
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361BA8#FFFFFF#000000##FFFFFF
##361BA81.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361ba8;
/* rgb */ color: rgb(54, 27, 168);
/* oklch */ color: oklch(37.6% 0.203 279.0);
Tailwind
colors: {
  custom: {
    50: '#7e5ec3',
    500: '#361ba8',
    950: '#000000',
  },
}
SCSS
$custom: #361ba8;
$custom-light: #7e5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#361ba8",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 251.489,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37614,
    "c": 0.20321,
    "h": 279
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#361BA8
secondary
#B2C857
accent
#EF39CC
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #361BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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