#361A52#361A52

#361A52 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.099 H 303.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#361A52
RGBrgb(54, 26, 82)
HSLhsl(270, 52%, 21%)
HSVhsv(270, 68%, 32%)
CMYKcmyk(34.1%, 68.3%, 0%, 67.8%)
CIE-LABlab(16.17, 26.31, -29.04)
CIE-LCHlch(16.17, 39.19, 312.18°)
OKLaboklab(28.87% 0.0551 -0.0823)
OKLCHoklch(28.87% 0.099 303.8)
XYZxyz(3.4134, 2.1323, 8.2128)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A52 #36521A
analogous
#1A1A52 #361A52 #521A52
triadic
#361A52 #52361A #1A5236
tetradic
#361A52 #521A1A #36521A #1A5252
square
#361A52 #521A1A #36521A #1A5252
split-complementary
#361A52 #52521A #1A521A
monochromatic
#0F0717 #170B24 #361A52 #552980 #7337AF

Accessibility & contrast

On white

14.72
#361A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#361A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A52
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A52#FFFFFF#000000##FFFFFF
##361A521.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#0B2851
Tritanopia (blue-blind)
#312633
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361a52;
/* rgb */ color: rgb(54, 26, 82);
/* oklch */ color: oklch(28.9% 0.099 303.8);
Tailwind
colors: {
  custom: {
    50: '#705883',
    500: '#361a52',
    950: '#000000',
  },
}
SCSS
$custom: #361a52;
$custom-light: #705883;
$custom-dark: #000000;
JSON
{
  "hex": "#361a52",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 270,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28865,
    "c": 0.09906,
    "h": 303.8
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#361A52
secondary
#648840
accent
#DB4C94
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #361A52

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

Preview Lab → · Contrast checker → · Palette generator →

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