#361556#361556

#361556 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.112 H 303.1°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#361556
RGBrgb(54, 21, 86)
HSLhsl(270, 61%, 21%)
HSVhsv(270, 76%, 34%)
CMYKcmyk(37.2%, 75.6%, 0%, 66.3%)
CIE-LABlab(15.45, 30.30, -32.91)
CIE-LCHlch(15.45, 44.74, 312.63°)
OKLaboklab(28.45% 0.0611 -0.0936)
OKLCHoklch(28.45% 0.112 303.1)
XYZxyz(3.4688, 1.9925, 9.0041)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361556 #355615
analogous
#151556 #361556 #561555
triadic
#361556 #563615 #155636
tetradic
#361556 #561515 #355615 #155556
square
#361556 #561515 #355615 #155556
split-complementary
#361556 #555615 #155615
monochromatic
#0F0619 #170925 #361556 #552187 #742DB8

Accessibility & contrast

On white

15.02
#361556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#361556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361556
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361556#FFFFFF#000000##FFFFFF
##3615561.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#302433
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #361556;
/* rgb */ color: rgb(54, 21, 86);
/* oklch */ color: oklch(28.5% 0.112 303.1);
Tailwind
colors: {
  custom: {
    50: '#705586',
    500: '#361556',
    950: '#000000',
  },
}
SCSS
$custom: #361556;
$custom-light: #705586;
$custom-dark: #000000;
JSON
{
  "hex": "#361556",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 270.462,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28451,
    "c": 0.11182,
    "h": 303.1
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#361556
secondary
#638E39
accent
#E44493
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361556

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

Preview Lab → · Contrast checker → · Palette generator →

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