#361148#361148

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

Color values

HEX#361148
RGBrgb(54, 17, 72)
HSLhsl(280, 62%, 17%)
HSVhsv(280, 76%, 28%)
CMYKcmyk(25%, 76.4%, 0%, 71.8%)
CIE-LABlab(13.55, 28.71, -26.39)
CIE-LCHlch(13.55, 39.00, 317.41°)
OKLaboklab(26.74% 0.0681 -0.0745)
OKLCHoklch(26.74% 0.101 312.4)
XYZxyz(2.8913, 1.6531, 6.2964)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361148 #234811
analogous
#1B1148 #361148 #48113E
triadic
#361148 #483611 #114836
tetradic
#361148 #481B11 #234811 #113E48
square
#361148 #481B11 #234811 #113E48
split-complementary
#361148 #3E4811 #11481B
monochromatic
#130619 #130619 #361148 #5B1D7A #8028AB

Accessibility & contrast

On white

15.78
#361148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361148
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361148#FFFFFF#000000##FFFFFF
##3611481.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361148;
/* rgb */ color: rgb(54, 17, 72);
/* oklch */ color: oklch(26.7% 0.101 312.4);
Tailwind
colors: {
  custom: {
    50: '#6f527b',
    500: '#361148',
    950: '#000000',
  },
}
SCSS
$custom: #361148;
$custom-light: #6f527b;
$custom-dark: #000000;
JSON
{
  "hex": "#361148",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 280.364,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26735,
    "c": 0.1009,
    "h": 312.4
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#361148
secondary
#4D8233
accent
#E54378
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #361148

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

Preview Lab → · Contrast checker → · Palette generator →

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