#361AA7#361AA7

#361AA7 is a dark, highly saturated violet. Relative luminance 0.043; OKLCH L 37.4% C 0.203 H 279.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#361AA7
RGBrgb(54, 26, 167)
HSLhsl(252, 73%, 38%)
HSVhsv(252, 84%, 65%)
CMYKcmyk(67.7%, 84.4%, 0%, 34.5%)
CIE-LABlab(24.68, 51.40, -69.33)
CIE-LCHlch(24.68, 86.30, 306.56°)
OKLaboklab(37.4% 0.0326 -0.2002)
OKLCHoklch(37.4% 0.203 279.3)
XYZxyz(8.8635, 4.3123, 36.9170)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361AA7 #8BA71A
analogous
#1A44A7 #361AA7 #7C1AA7
triadic
#361AA7 #A7361A #1AA736
tetradic
#361AA7 #A71A44 #8BA71A #1AA77C
square
#361AA7 #A71A44 #8BA71A #1AA77C
split-complementary
#361AA7 #A77C1A #44A71A
monochromatic
#140A3D #251272 #361AA7 #4722DC #7357E5

Accessibility & contrast

On white

11.27
#361AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#361AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361AA7
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361AA7#FFFFFF#000000##FFFFFF
##361AA71.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361aa7;
/* rgb */ color: rgb(54, 26, 167);
/* oklch */ color: oklch(37.4% 0.203 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e5dc3',
    500: '#361aa7',
    950: '#000000',
  },
}
SCSS
$custom: #361aa7;
$custom-light: #7e5dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#361aa7",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 251.915,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.2028,
    "h": 279.3
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#361AA7
secondary
#B1C855
accent
#F038CB
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #361AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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