#361987#361987

#361987 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.167 H 285.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#361987
RGBrgb(54, 25, 135)
HSLhsl(256, 69%, 31%)
HSVhsv(256, 81%, 53%)
CMYKcmyk(60%, 81.5%, 0%, 47.1%)
CIE-LABlab(20.94, 42.51, -55.79)
CIE-LCHlch(20.94, 70.14, 307.30°)
OKLaboklab(33.77% 0.0439 -0.1607)
OKLCHoklch(33.77% 0.167 285.3)
XYZxyz(6.2408, 3.2284, 23.2113)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361987 #6A8719
analogous
#193387 #361987 #6D1987
triadic
#361987 #873619 #198736
tetradic
#361987 #871933 #6A8719 #19876D
square
#361987 #871933 #6A8719 #19876D
split-complementary
#361987 #876D19 #338719
monochromatic
#0D0620 #210F53 #361987 #4B23BB #683FDB

Accessibility & contrast

On white

12.76
#361987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#361987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361987
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361987#FFFFFF#000000##FFFFFF
##3619871.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#073A50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361987;
/* rgb */ color: rgb(54, 25, 135);
/* oklch */ color: oklch(33.8% 0.167 285.3);
Tailwind
colors: {
  custom: {
    50: '#785aab',
    500: '#361987',
    950: '#000000',
  },
}
SCSS
$custom: #361987;
$custom-light: #785aab;
$custom-dark: #000000;
JSON
{
  "hex": "#361987",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 255.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.16663,
    "h": 285.3
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#361987
secondary
#9BBA41
accent
#EC3CBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361987

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

Preview Lab → · Contrast checker → · Palette generator →

#361987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva