#361956#361956

#361956 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.0% C 0.106 H 302.0°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#361956
RGBrgb(54, 25, 86)
HSLhsl(269, 55%, 22%)
HSVhsv(269, 71%, 34%)
CMYKcmyk(37.2%, 70.9%, 0%, 66.3%)
CIE-LABlab(16.26, 28.05, -31.59)
CIE-LCHlch(16.26, 42.25, 311.59°)
OKLaboklab(29.04% 0.0561 -0.0898)
OKLCHoklch(29.04% 0.106 302)
XYZxyz(3.5483, 2.1514, 9.0306)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361956 #395619
analogous
#191A56 #361956 #551956
triadic
#361956 #563619 #195636
tetradic
#361956 #56191A #395619 #195655
square
#361956 #56191A #395619 #195655
split-complementary
#361956 #565519 #1A5619
monochromatic
#0F0718 #180B27 #361956 #542785 #7235B5

Accessibility & contrast

On white

14.68
#361956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#361956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361956
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361956#FFFFFF#000000##FFFFFF
##3619561.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#022855
Tritanopia (blue-blind)
#2F2735
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361956;
/* rgb */ color: rgb(54, 25, 86);
/* oklch */ color: oklch(29.0% 0.106 302.0);
Tailwind
colors: {
  custom: {
    50: '#705886',
    500: '#361956',
    950: '#000000',
  },
}
SCSS
$custom: #361956;
$custom-light: #705886;
$custom-dark: #000000;
JSON
{
  "hex": "#361956",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 268.525,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29035,
    "c": 0.10589,
    "h": 302
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#361956
secondary
#678C3E
accent
#DE4A98
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361956

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

Preview Lab → · Contrast checker → · Palette generator →

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