#302136#302136

#302136 is a dark, muted purple. Relative luminance 0.020; OKLCH L 27.5% C 0.043 H 316.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#302136
RGBrgb(48, 33, 54)
HSLhsl(283, 24%, 17%)
HSVhsv(283, 39%, 21%)
CMYKcmyk(11.1%, 38.9%, 0%, 78.8%)
CIE-LABlab(15.40, 11.94, -10.91)
CIE-LCHlch(15.40, 16.17, 317.60°)
OKLaboklab(27.54% 0.031 -0.0299)
OKLCHoklch(27.54% 0.043 316)
XYZxyz(2.4285, 1.9825, 3.7440)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302136 #273621
analogous
#262136 #302136 #362132
triadic
#302136 #363021 #213630
tetradic
#302136 #362621 #273621 #213236
square
#302136 #362621 #273621 #213236
split-complementary
#302136 #323621 #213626
monochromatic
#110C13 #110C13 #302136 #52385C #744F82

Accessibility & contrast

On white

15.04
#302136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#302136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302136
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302136#FFFFFF#000000##FFFFFF
##3021361.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2637
Deuteranopia (green-blind)
#212735
Tritanopia (blue-blind)
#302429
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #302136;
/* rgb */ color: rgb(48, 33, 54);
/* oklch */ color: oklch(27.5% 0.043 316.0);
Tailwind
colors: {
  custom: {
    50: '#685c6d',
    500: '#302136',
    950: '#000000',
  },
}
SCSS
$custom: #302136;
$custom-light: #685c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#302136",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 282.857,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27539,
    "c": 0.04301,
    "h": 316
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#302136
secondary
#53694A
accent
#C16781
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #302136

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

Preview Lab → · Contrast checker → · Palette generator →

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