#361238#361238

#361238 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.081 H 325.5°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#361238
RGBrgb(54, 18, 56)
HSLhsl(297, 51%, 15%)
HSVhsv(297, 68%, 22%)
CMYKcmyk(3.6%, 67.9%, 0%, 78%)
CIE-LABlab(12.62, 24.35, -16.58)
CIE-LCHlch(12.62, 29.46, 325.74°)
OKLaboklab(25.71% 0.0668 -0.0458)
OKLCHoklch(25.71% 0.081 325.5)
XYZxyz(2.4514, 1.5025, 3.9015)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361238 #143812
analogous
#231238 #361238 #381227
triadic
#361238 #383612 #123836
tetradic
#361238 #382312 #143812 #122738
square
#361238 #382312 #143812 #122738
split-complementary
#361238 #273812 #123823
monochromatic
#160717 #160717 #361238 #632166 #8F3095

Accessibility & contrast

On white

16.15
#361238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#361238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361238
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361238#FFFFFF#000000##FFFFFF
##3612381.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E39
Deuteranopia (green-blind)
#192237
Tritanopia (blue-blind)
#371722
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #361238;
/* rgb */ color: rgb(54, 18, 56);
/* oklch */ color: oklch(25.7% 0.081 325.5);
Tailwind
colors: {
  custom: {
    50: '#6e526f',
    500: '#361238',
    950: '#000000',
  },
}
SCSS
$custom: #361238;
$custom-light: #6e526f;
$custom-dark: #000000;
JSON
{
  "hex": "#361238",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 296.842,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25705,
    "c": 0.08099,
    "h": 325.5
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#361238
secondary
#387135
accent
#DB4D54
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #361238

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

Preview Lab → · Contrast checker → · Palette generator →

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