#361AAA#361AAA

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

Color values

HEX#361AAA
RGBrgb(54, 26, 170)
HSLhsl(252, 73%, 38%)
HSVhsv(252, 85%, 67%)
CMYKcmyk(68.2%, 84.7%, 0%, 33.3%)
CIE-LABlab(25.03, 52.26, -70.56)
CIE-LCHlch(25.03, 87.81, 306.53°)
OKLaboklab(37.75% 0.0316 -0.2037)
OKLCHoklch(37.75% 0.206 278.8)
XYZxyz(9.1441, 4.4246, 38.3946)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361AAA #8EAA1A
analogous
#1A46AA #361AAA #7E1AAA
triadic
#361AAA #AA361A #1AAA36
tetradic
#361AAA #AA1A46 #8EAA1A #1AAA7E
square
#361AAA #AA1A46 #8EAA1A #1AAA7E
split-complementary
#361AAA #AA7E1A #46AA1A
monochromatic
#140A40 #251275 #361AAA #4824DD #7459E6

Accessibility & contrast

On white

11.14
#361AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361AAA
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361AAA#FFFFFF#000000##FFFFFF
##361AAA1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #361aaa;
/* rgb */ color: rgb(54, 26, 170);
/* oklch */ color: oklch(37.7% 0.206 278.8);
Tailwind
colors: {
  custom: {
    50: '#7f5dc5',
    500: '#361aaa',
    950: '#000000',
  },
}
SCSS
$custom: #361aaa;
$custom-light: #7f5dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#361aaa",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 170
  },
  "hsl": {
    "h": 251.667,
    "s": 73.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37746,
    "c": 0.20618,
    "h": 278.8
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#361AAA
secondary
#B3C957
accent
#F038CC
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #361AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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