#361841#361841

#361841 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.080 H 316.1°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#361841
RGBrgb(54, 24, 65)
HSLhsl(284, 46%, 17%)
HSVhsv(284, 63%, 25%)
CMYKcmyk(16.9%, 63.1%, 0%, 74.5%)
CIE-LABlab(14.51, 22.95, -19.98)
CIE-LCHlch(14.51, 30.43, 318.97°)
OKLaboklab(27.27% 0.058 -0.0557)
OKLCHoklch(27.27% 0.08 316.1)
XYZxyz(2.8019, 1.8193, 5.2036)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361841 #234118
analogous
#211841 #361841 #411838
triadic
#361841 #413618 #184136
tetradic
#361841 #412118 #234118 #183841
square
#361841 #412118 #234118 #183841
split-complementary
#361841 #384118 #184121
monochromatic
#130816 #130816 #361841 #5B296E #80399A

Accessibility & contrast

On white

15.40
#361841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#361841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361841
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361841#FFFFFF#000000##FFFFFF
##3618411.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2342
Deuteranopia (green-blind)
#182640
Tritanopia (blue-blind)
#351F29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #361841;
/* rgb */ color: rgb(54, 24, 65);
/* oklch */ color: oklch(27.3% 0.080 316.1);
Tailwind
colors: {
  custom: {
    50: '#6e5676',
    500: '#361841',
    950: '#000000',
  },
}
SCSS
$custom: #361841;
$custom-light: #6e5676;
$custom-dark: #000000;
JSON
{
  "hex": "#361841",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 283.902,
    "s": 46.067,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2727,
    "c": 0.08047,
    "h": 316.1
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#361841
secondary
#4D783D
accent
#D65275
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #361841

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

Preview Lab → · Contrast checker → · Palette generator →

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