#361E94#361E94

#361E94 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.178 H 281.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#361E94
RGBrgb(54, 30, 148)
HSLhsl(252, 66%, 35%)
HSVhsv(252, 80%, 58%)
CMYKcmyk(63.5%, 79.7%, 0%, 42%)
CIE-LABlab(23.17, 43.98, -60.20)
CIE-LCHlch(23.17, 74.56, 306.15°)
OKLaboklab(35.74% 0.0367 -0.1737)
OKLCHoklch(35.74% 0.178 281.9)
XYZxyz(7.3292, 3.8504, 28.3682)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E94 #7C941E
analogous
#1E4194 #361E94 #711E94
triadic
#361E94 #94361E #1E9436
tetradic
#361E94 #941E41 #7C941E #1E9471
square
#361E94 #941E41 #7C941E #1E9471
split-complementary
#361E94 #94711E #41941E
monochromatic
#11092E #231461 #361E94 #4928C7 #6D51DC

Accessibility & contrast

On white

11.86
#361E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#361E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E94
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E94#FFFFFF#000000##FFFFFF
##361E941.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361e94;
/* rgb */ color: rgb(54, 30, 148);
/* oklch */ color: oklch(35.7% 0.178 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a5eb5',
    500: '#361e94',
    950: '#000000',
  },
}
SCSS
$custom: #361e94;
$custom-light: #7a5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361e94",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 252.203,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35736,
    "c": 0.17751,
    "h": 281.9
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#361E94
secondary
#A8BF4F
accent
#E93FC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361E94

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

Preview Lab → · Contrast checker → · Palette generator →

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