#361966#361966

#361966 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.126 H 295.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#361966
RGBrgb(54, 25, 102)
HSLhsl(263, 61%, 25%)
HSVhsv(263, 75%, 40%)
CMYKcmyk(47.1%, 75.5%, 0%, 60%)
CIE-LABlab(17.64, 32.70, -40.01)
CIE-LCHlch(17.64, 51.68, 309.26°)
OKLaboklab(30.45% 0.0534 -0.1145)
OKLCHoklch(30.45% 0.126 295)
XYZxyz(4.2666, 2.4387, 12.8137)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361966 #496619
analogous
#192366 #361966 #5C1966
triadic
#361966 #663619 #196636
tetradic
#361966 #661923 #496619 #19665C
square
#361966 #661923 #496619 #19665C
split-complementary
#361966 #665C19 #236619
monochromatic
#0D0619 #1C0D35 #361966 #502597 #6A31C8

Accessibility & contrast

On white

14.11
#361966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#361966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361966
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361966#FFFFFF#000000##FFFFFF
##3619661.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#292D3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361966;
/* rgb */ color: rgb(54, 25, 102);
/* oklch */ color: oklch(30.4% 0.126 295.0);
Tailwind
colors: {
  custom: {
    50: '#725892',
    500: '#361966',
    950: '#000000',
  },
}
SCSS
$custom: #361966;
$custom-light: #725892;
$custom-dark: #000000;
JSON
{
  "hex": "#361966",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 262.597,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3045,
    "c": 0.12636,
    "h": 295
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#361966
secondary
#799C3F
accent
#E444A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #361966

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

Preview Lab → · Contrast checker → · Palette generator →

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