#361168#361168

#361168 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.138 H 295.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#361168
RGBrgb(54, 17, 104)
HSLhsl(266, 72%, 24%)
HSVhsv(266, 84%, 41%)
CMYKcmyk(48.1%, 83.7%, 0%, 59.2%)
CIE-LABlab(16.43, 37.27, -43.31)
CIE-LCHlch(16.43, 57.14, 310.72°)
OKLaboklab(29.66% 0.0603 -0.1241)
OKLCHoklch(29.66% 0.138 295.9)
XYZxyz(4.2198, 2.1845, 13.2933)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361168 #436811
analogous
#111768 #361168 #611168
triadic
#361168 #683611 #116836
tetradic
#361168 #681117 #436811 #116861
square
#361168 #681117 #436811 #116861
split-complementary
#361168 #686111 #176811
monochromatic
#0E041A #1B0833 #361168 #511A9D #6D22D1

Accessibility & contrast

On white

14.61
#361168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#361168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361168
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361168#FFFFFF#000000##FFFFFF
##3611681.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#282A3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #361168;
/* rgb */ color: rgb(54, 17, 104);
/* oklch */ color: oklch(29.7% 0.138 295.9);
Tailwind
colors: {
  custom: {
    50: '#735494',
    500: '#361168',
    950: '#000000',
  },
}
SCSS
$custom: #361168;
$custom-light: #735494;
$custom-dark: #000000;
JSON
{
  "hex": "#361168",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 265.517,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29658,
    "c": 0.13804,
    "h": 295.9
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#361168
secondary
#72A035
accent
#EF39A1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #361168

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

Preview Lab → · Contrast checker → · Palette generator →

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