#361985#361985

#361985 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.164 H 285.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#361985
RGBrgb(54, 25, 133)
HSLhsl(256, 68%, 31%)
HSVhsv(256, 81%, 52%)
CMYKcmyk(59.4%, 81.2%, 0%, 47.8%)
CIE-LABlab(20.72, 41.91, -54.89)
CIE-LCHlch(20.72, 69.06, 307.37°)
OKLaboklab(33.55% 0.0446 -0.1581)
OKLCHoklch(33.55% 0.164 285.7)
XYZxyz(6.1013, 3.1726, 22.4766)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361985 #688519
analogous
#193285 #361985 #6C1985
triadic
#361985 #853619 #198536
tetradic
#361985 #851932 #688519 #19856C
square
#361985 #851932 #688519 #19856C
split-complementary
#361985 #856C19 #328519
monochromatic
#0C061E #210F51 #361985 #4B23B9 #683EDB

Accessibility & contrast

On white

12.85
#361985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361985
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361985#FFFFFF#000000##FFFFFF
##3619851.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#0C394F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361985;
/* rgb */ color: rgb(54, 25, 133);
/* oklch */ color: oklch(33.6% 0.164 285.7);
Tailwind
colors: {
  custom: {
    50: '#785aaa',
    500: '#361985',
    950: '#000000',
  },
}
SCSS
$custom: #361985;
$custom-light: #785aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#361985",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 256.111,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33553,
    "c": 0.16426,
    "h": 285.7
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#361985
secondary
#99B941
accent
#EB3DBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361985

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

Preview Lab → · Contrast checker → · Palette generator →

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