#361D83#361D83

#361D83 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.158 H 285.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#361D83
RGBrgb(54, 29, 131)
HSLhsl(255, 64%, 31%)
HSVhsv(255, 78%, 51%)
CMYKcmyk(58.8%, 77.9%, 0%, 48.6%)
CIE-LABlab(21.21, 39.31, -52.82)
CIE-LCHlch(21.21, 65.84, 306.66°)
OKLaboklab(33.83% 0.0423 -0.1521)
OKLCHoklch(33.83% 0.158 285.5)
XYZxyz(6.0562, 3.3013, 21.7864)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D83 #6A831D
analogous
#1D3783 #361D83 #691D83
triadic
#361D83 #83361D #1D8336
tetradic
#361D83 #831D37 #6A831D #1D8369
square
#361D83 #831D37 #6A831D #1D8369
split-complementary
#361D83 #83691D #37831D
monochromatic
#0D071F #211251 #361D83 #4B28B5 #6845D6

Accessibility & contrast

On white

12.65
#361D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#361D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D83
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D83#FFFFFF#000000##FFFFFF
##361D831.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.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: #361d83;
/* rgb */ color: rgb(54, 29, 131);
/* oklch */ color: oklch(33.8% 0.158 285.5);
Tailwind
colors: {
  custom: {
    50: '#775ca8',
    500: '#361d83',
    950: '#000000',
  },
}
SCSS
$custom: #361d83;
$custom-light: #775ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#361d83",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 254.706,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33833,
    "c": 0.15788,
    "h": 285.5
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#361D83
secondary
#9BB646
accent
#E741BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361D83

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

Preview Lab → · Contrast checker → · Palette generator →

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