#361F83#361F83

#361F83 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.156 H 285.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#361F83
RGBrgb(54, 31, 131)
HSLhsl(254, 62%, 32%)
HSVhsv(254, 76%, 51%)
CMYKcmyk(58.8%, 76.3%, 0%, 48.6%)
CIE-LABlab(21.59, 38.24, -52.20)
CIE-LCHlch(21.59, 64.71, 306.22°)
OKLaboklab(34.1% 0.0408 -0.1503)
OKLCHoklch(34.1% 0.156 285.2)
XYZxyz(6.1068, 3.4026, 21.8033)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F83 #6C831F
analogous
#1F3A83 #361F83 #681F83
triadic
#361F83 #83361F #1F8336
tetradic
#361F83 #831F3A #6C831F #1F8368
square
#361F83 #831F3A #6C831F #1F8368
split-complementary
#361F83 #83681F #3A831F
monochromatic
#0D0820 #221352 #361F83 #4A2BB4 #6949D4

Accessibility & contrast

On white

12.50
#361F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#361F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F83
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F83#FFFFFF#000000##FFFFFF
##361F831.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#0F3B4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361f83;
/* rgb */ color: rgb(54, 31, 131);
/* oklch */ color: oklch(34.1% 0.156 285.2);
Tailwind
colors: {
  custom: {
    50: '#775da8',
    500: '#361f83',
    950: '#000000',
  },
}
SCSS
$custom: #361f83;
$custom-light: #775da8;
$custom-dark: #000000;
JSON
{
  "hex": "#361f83",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 253.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34098,
    "c": 0.15574,
    "h": 285.2
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#361F83
secondary
#9DB648
accent
#E543C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #361F83

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

Preview Lab → · Contrast checker → · Palette generator →

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