#361E83#361E83

#361E83 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.157 H 285.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#361E83
RGBrgb(54, 30, 131)
HSLhsl(254, 63%, 32%)
HSVhsv(254, 77%, 51%)
CMYKcmyk(58.8%, 77.1%, 0%, 48.6%)
CIE-LABlab(21.40, 38.78, -52.51)
CIE-LCHlch(21.40, 65.28, 306.44°)
OKLaboklab(33.96% 0.0415 -0.1512)
OKLCHoklch(33.96% 0.157 285.4)
XYZxyz(6.0811, 3.3511, 21.7947)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E83 #6B831E
analogous
#1E3983 #361E83 #691E83
triadic
#361E83 #83361E #1E8336
tetradic
#361E83 #831E39 #6B831E #1E8369
square
#361E83 #831E39 #6B831E #1E8369
split-complementary
#361E83 #83691E #39831E
monochromatic
#0D071F #211351 #361E83 #4B29B5 #6847D5

Accessibility & contrast

On white

12.57
#361E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#361E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E83
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E83#FFFFFF#000000##FFFFFF
##361E831.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#0F3A4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361e83;
/* rgb */ color: rgb(54, 30, 131);
/* oklch */ color: oklch(34.0% 0.157 285.4);
Tailwind
colors: {
  custom: {
    50: '#775da8',
    500: '#361e83',
    950: '#000000',
  },
}
SCSS
$custom: #361e83;
$custom-light: #775da8;
$custom-dark: #000000;
JSON
{
  "hex": "#361e83",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 254.257,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33964,
    "c": 0.15681,
    "h": 285.4
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#361E83
secondary
#9CB647
accent
#E642BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361E83

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

Preview Lab → · Contrast checker → · Palette generator →

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