#361554#361554

#361554 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.109 H 304.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#361554
RGBrgb(54, 21, 84)
HSLhsl(271, 60%, 21%)
HSVhsv(271, 75%, 33%)
CMYKcmyk(35.7%, 75%, 0%, 67.1%)
CIE-LABlab(15.28, 29.75, -31.83)
CIE-LCHlch(15.28, 43.57, 313.06°)
OKLaboklab(28.28% 0.0614 -0.0905)
OKLCHoklch(28.28% 0.109 304.2)
XYZxyz(3.3894, 1.9607, 8.5857)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361554 #335415
analogous
#171554 #361554 #541552
triadic
#361554 #543615 #155436
tetradic
#361554 #541715 #335415 #155254
square
#361554 #541715 #335415 #155254
split-complementary
#361554 #525415 #155417
monochromatic
#100618 #170923 #361554 #552185 #752DB6

Accessibility & contrast

On white

15.08
#361554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#361554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361554
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361554#FFFFFF#000000##FFFFFF
##3615541.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#302332
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #361554;
/* rgb */ color: rgb(54, 21, 84);
/* oklch */ color: oklch(28.3% 0.109 304.2);
Tailwind
colors: {
  custom: {
    50: '#705585',
    500: '#361554',
    950: '#000000',
  },
}
SCSS
$custom: #361554;
$custom-light: #705585;
$custom-dark: #000000;
JSON
{
  "hex": "#361554",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 271.429,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28278,
    "c": 0.10935,
    "h": 304.2
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#361554
secondary
#608C39
accent
#E34590
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361554

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

Preview Lab → · Contrast checker → · Palette generator →

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