#361856#361856

#361856 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.107 H 302.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#361856
RGBrgb(54, 24, 86)
HSLhsl(269, 56%, 22%)
HSVhsv(269, 72%, 34%)
CMYKcmyk(37.2%, 72.1%, 0%, 66.3%)
CIE-LABlab(16.05, 28.63, -31.94)
CIE-LCHlch(16.05, 42.89, 311.87°)
OKLaboklab(28.88% 0.0574 -0.0908)
OKLCHoklch(28.88% 0.107 302.3)
XYZxyz(3.5273, 2.1094, 9.0236)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361856 #385618
analogous
#181956 #361856 #551856
triadic
#361856 #563618 #185636
tetradic
#361856 #561819 #385618 #185655
square
#361856 #561819 #385618 #185655
split-complementary
#361856 #565518 #195618
monochromatic
#0F0718 #180B26 #361856 #542586 #7233B6

Accessibility & contrast

On white

14.77
#361856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#361856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361856
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361856#FFFFFF#000000##FFFFFF
##3618561.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#012855
Tritanopia (blue-blind)
#2F2634
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361856;
/* rgb */ color: rgb(54, 24, 86);
/* oklch */ color: oklch(28.9% 0.107 302.3);
Tailwind
colors: {
  custom: {
    50: '#705786',
    500: '#361856',
    950: '#000000',
  },
}
SCSS
$custom: #361856;
$custom-light: #705786;
$custom-dark: #000000;
JSON
{
  "hex": "#361856",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 269.032,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28883,
    "c": 0.10741,
    "h": 302.3
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#361856
secondary
#668D3D
accent
#E04896
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361856

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

Preview Lab → · Contrast checker → · Palette generator →

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