#362038#362038

#362038 is a dark, muted purple. Relative luminance 0.021; OKLCH L 28.2% C 0.052 H 323.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#362038
RGBrgb(54, 32, 56)
HSLhsl(295, 27%, 17%)
HSVhsv(295, 43%, 22%)
CMYKcmyk(3.6%, 42.9%, 0%, 78%)
CIE-LABlab(16.02, 15.52, -11.29)
CIE-LCHlch(16.02, 19.19, 323.96°)
OKLaboklab(28.23% 0.0423 -0.0308)
OKLCHoklch(28.23% 0.052 323.9)
XYZxyz(2.7516, 2.1029, 4.0016)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362038 #223820
analogous
#2A2038 #362038 #38202E
triadic
#362038 #383620 #203836
tetradic
#362038 #382A20 #223820 #202E38
square
#362038 #382A20 #223820 #202E38
split-complementary
#362038 #2E3820 #20382A
monochromatic
#130B13 #130B13 #362038 #5C365F #814D86

Accessibility & contrast

On white

14.78
#362038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#362038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362038
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362038#FFFFFF#000000##FFFFFF
##3620381.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2639
Deuteranopia (green-blind)
#232937
Tritanopia (blue-blind)
#372229
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #362038;
/* rgb */ color: rgb(54, 32, 56);
/* oklch */ color: oklch(28.2% 0.052 323.9);
Tailwind
colors: {
  custom: {
    50: '#6d5c6e',
    500: '#362038',
    950: '#000000',
  },
}
SCSS
$custom: #362038;
$custom-light: #6d5c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#362038",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 295,
    "s": 27.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28226,
    "c": 0.0523,
    "h": 323.9
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#362038
secondary
#4C6B49
accent
#C4646C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070407
muted
#7A797A

Preview Lab

Preview with #362038

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

Preview Lab → · Contrast checker → · Palette generator →

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