#302034#302034

#302034 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.2% C 0.042 H 319.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#302034
RGBrgb(48, 32, 52)
HSLhsl(288, 24%, 16%)
HSVhsv(288, 38%, 20%)
CMYKcmyk(7.7%, 38.5%, 0%, 79.6%)
CIE-LABlab(15.00, 12.13, -10.09)
CIE-LCHlch(15.00, 15.78, 320.24°)
OKLaboklab(27.21% 0.0322 -0.0275)
OKLCHoklch(27.21% 0.042 319.5)
XYZxyz(2.3552, 1.9094, 3.4926)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302034 #243420
analogous
#262034 #302034 #34202E
triadic
#302034 #343020 #203430
tetradic
#302034 #342620 #243420 #202E34
square
#302034 #342620 #243420 #202E34
split-complementary
#302034 #2E3420 #203426
monochromatic
#110C13 #110C13 #302034 #53375A #764F80

Accessibility & contrast

On white

15.20
#302034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#302034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302034
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302034#FFFFFF#000000##FFFFFF
##3020341.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2535
Deuteranopia (green-blind)
#212633
Tritanopia (blue-blind)
#302227
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #302034;
/* rgb */ color: rgb(48, 32, 52);
/* oklch */ color: oklch(27.2% 0.042 319.5);
Tailwind
colors: {
  custom: {
    50: '#685b6b',
    500: '#302034',
    950: '#000000',
  },
}
SCSS
$custom: #302034;
$custom-light: #685b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#302034",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 52
  },
  "hsl": {
    "h": 288,
    "s": 23.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2721,
    "c": 0.04236,
    "h": 319.5
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#302034
secondary
#4F6749
accent
#C06879
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #302034

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

Preview Lab → · Contrast checker → · Palette generator →

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