#361247#361247

#361247 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.098 H 312.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#361247
RGBrgb(54, 18, 71)
HSLhsl(281, 60%, 17%)
HSVhsv(281, 75%, 28%)
CMYKcmyk(23.9%, 74.6%, 0%, 72.2%)
CIE-LABlab(13.66, 27.93, -25.52)
CIE-LCHlch(13.66, 37.83, 317.59°)
OKLaboklab(26.79% 0.0669 -0.0719)
OKLCHoklch(26.79% 0.098 312.9)
XYZxyz(2.8748, 1.6719, 6.1313)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361247 #234712
analogous
#1C1247 #361247 #47123D
triadic
#361247 #473612 #124736
tetradic
#361247 #471C12 #234712 #123D47
square
#361247 #471C12 #234712 #123D47
split-complementary
#361247 #3D4712 #12471C
monochromatic
#130618 #130618 #361247 #5B1E78 #802BA9

Accessibility & contrast

On white

15.74
#361247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361247
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361247#FFFFFF#000000##FFFFFF
##3612471.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#0E2446
Tritanopia (blue-blind)
#341D2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #361247;
/* rgb */ color: rgb(54, 18, 71);
/* oklch */ color: oklch(26.8% 0.098 312.9);
Tailwind
colors: {
  custom: {
    50: '#6f537a',
    500: '#361247',
    950: '#000000',
  },
}
SCSS
$custom: #361247;
$custom-light: #6f537a;
$custom-dark: #000000;
JSON
{
  "hex": "#361247",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 280.755,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2679,
    "c": 0.0982,
    "h": 312.9
  },
  "luminance": 0.01672
}

Semantic roles & 50–950 ramp

primary
#361247
secondary
#4D8035
accent
#E34578
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #361247

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

Preview Lab → · Contrast checker → · Palette generator →

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