#361246#361246

#361246 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.097 H 313.6°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#361246
RGBrgb(54, 18, 70)
HSLhsl(282, 59%, 17%)
HSVhsv(282, 74%, 27%)
CMYKcmyk(22.9%, 74.3%, 0%, 72.5%)
CIE-LABlab(13.59, 27.68, -24.94)
CIE-LCHlch(13.59, 37.26, 317.98°)
OKLaboklab(26.71% 0.067 -0.0702)
OKLCHoklch(26.71% 0.097 313.6)
XYZxyz(2.8429, 1.6592, 5.9637)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361246 #224612
analogous
#1C1246 #361246 #46123C
triadic
#361246 #463612 #124636
tetradic
#361246 #461C12 #224612 #123C46
square
#361246 #461C12 #224612 #123C46
split-complementary
#361246 #3C4612 #12461C
monochromatic
#130618 #130618 #361246 #5C1F77 #812BA7

Accessibility & contrast

On white

15.77
#361246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#361246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361246
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361246#FFFFFF#000000##FFFFFF
##3612461.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#0F2445
Tritanopia (blue-blind)
#341C2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #361246;
/* rgb */ color: rgb(54, 18, 70);
/* oklch */ color: oklch(26.7% 0.097 313.6);
Tailwind
colors: {
  custom: {
    50: '#6f537a',
    500: '#361246',
    950: '#000000',
  },
}
SCSS
$custom: #361246;
$custom-light: #6f537a;
$custom-dark: #000000;
JSON
{
  "hex": "#361246",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 281.538,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26712,
    "c": 0.09702,
    "h": 313.6
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#361246
secondary
#4C7F35
accent
#E24676
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #361246

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

Preview Lab → · Contrast checker → · Palette generator →

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