#361256#361256

#361256 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.116 H 303.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#361256
RGBrgb(54, 18, 86)
HSLhsl(272, 65%, 20%)
HSVhsv(272, 79%, 34%)
CMYKcmyk(37.2%, 79.1%, 0%, 66.3%)
CIE-LABlab(14.89, 31.86, -33.82)
CIE-LCHlch(14.89, 46.46, 313.30°)
OKLaboklab(28.06% 0.0645 -0.0963)
OKLCHoklch(28.06% 0.116 303.8)
XYZxyz(3.4170, 1.8888, 8.9869)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361256 #325612
analogous
#141256 #361256 #561254
triadic
#361256 #563612 #125636
tetradic
#361256 #561412 #325612 #125456
square
#361256 #561412 #325612 #125456
split-complementary
#361256 #545612 #125614
monochromatic
#100519 #160723 #361256 #561D89 #7627BB

Accessibility & contrast

On white

15.24
#361256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#361256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361256
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361256#FFFFFF#000000##FFFFFF
##3612561.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#302333
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #361256;
/* rgb */ color: rgb(54, 18, 86);
/* oklch */ color: oklch(28.1% 0.116 303.8);
Tailwind
colors: {
  custom: {
    50: '#715486',
    500: '#361256',
    950: '#000000',
  },
}
SCSS
$custom: #361256;
$custom-light: #715486;
$custom-dark: #000000;
JSON
{
  "hex": "#361256",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 271.765,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28057,
    "c": 0.11591,
    "h": 303.8
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#361256
secondary
#5F8F35
accent
#E83F8F
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361256

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

Preview Lab → · Contrast checker → · Palette generator →

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