#361A94#361A94

#361A94 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.181 H 282.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#361A94
RGBrgb(54, 26, 148)
HSLhsl(254, 70%, 34%)
HSVhsv(254, 82%, 58%)
CMYKcmyk(63.5%, 82.4%, 0%, 42%)
CIE-LABlab(22.52, 45.88, -61.28)
CIE-LCHlch(22.52, 76.55, 306.82°)
OKLaboklab(35.28% 0.039 -0.1768)
OKLCHoklch(35.28% 0.181 282.4)
XYZxyz(7.2343, 3.6607, 28.3366)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A94 #78941A
analogous
#1A3B94 #361A94 #731A94
triadic
#361A94 #94361A #1A9436
tetradic
#361A94 #941A3B #78941A #1A9473
square
#361A94 #941A3B #78941A #1A9473
split-complementary
#361A94 #94731A #3B941A
monochromatic
#10082C #231160 #361A94 #4923C8 #6C49DF

Accessibility & contrast

On white

12.12
#361A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#361A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A94
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A94#FFFFFF#000000##FFFFFF
##361A941.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#003F58
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361a94;
/* rgb */ color: rgb(54, 26, 148);
/* oklch */ color: oklch(35.3% 0.181 282.4);
Tailwind
colors: {
  custom: {
    50: '#7a5cb5',
    500: '#361a94',
    950: '#000000',
  },
}
SCSS
$custom: #361a94;
$custom-light: #7a5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361a94",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 253.77,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35282,
    "c": 0.18102,
    "h": 282.4
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#361A94
secondary
#A5C149
accent
#ED3BC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361A94

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

Preview Lab → · Contrast checker → · Palette generator →

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