#361248#361248

#361248 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.099 H 312.2°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#361248
RGBrgb(54, 18, 72)
HSLhsl(280, 60%, 18%)
HSVhsv(280, 75%, 28%)
CMYKcmyk(25%, 75%, 0%, 71.8%)
CIE-LABlab(13.74, 28.19, -26.09)
CIE-LCHlch(13.74, 38.41, 317.21°)
OKLaboklab(26.87% 0.0668 -0.0736)
OKLCHoklch(26.87% 0.099 312.2)
XYZxyz(2.9071, 1.6848, 6.3017)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361248 #244812
analogous
#1B1248 #361248 #48123F
triadic
#361248 #483612 #124836
tetradic
#361248 #481B12 #244812 #123F48
square
#361248 #481B12 #244812 #123F48
split-complementary
#361248 #3F4812 #12481B
monochromatic
#120618 #120618 #361248 #5B1E79 #7F2AAA

Accessibility & contrast

On white

15.71
#361248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#361248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361248
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361248#FFFFFF#000000##FFFFFF
##3612481.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#0D2447
Tritanopia (blue-blind)
#341D2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #361248;
/* rgb */ color: rgb(54, 18, 72);
/* oklch */ color: oklch(26.9% 0.099 312.2);
Tailwind
colors: {
  custom: {
    50: '#6f537b',
    500: '#361248',
    950: '#000000',
  },
}
SCSS
$custom: #361248;
$custom-light: #6f537b;
$custom-dark: #000000;
JSON
{
  "hex": "#361248",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2687,
    "c": 0.09937,
    "h": 312.2
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#361248
secondary
#4E8135
accent
#E34579
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #361248

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

Preview Lab → · Contrast checker → · Palette generator →

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