#302834#302834

#302834 is a dark, muted purple. Relative luminance 0.024; OKLCH L 29.1% C 0.024 H 314.4°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#302834
RGBrgb(48, 40, 52)
HSLhsl(280, 13%, 18%)
HSVhsv(280, 23%, 20%)
CMYKcmyk(7.7%, 23.1%, 0%, 79.6%)
CIE-LABlab(17.43, 6.50, -6.39)
CIE-LCHlch(17.43, 9.12, 315.50°)
OKLaboklab(29.07% 0.0169 -0.0173)
OKLCHoklch(29.07% 0.024 314.4)
XYZxyz(2.5975, 2.3939, 3.5734)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302834 #2C3428
analogous
#2A2834 #302834 #342832
triadic
#302834 #343028 #283430
tetradic
#302834 #342A28 #2C3428 #283234
square
#302834 #342A28 #2C3428 #283234
split-complementary
#302834 #323428 #28342A
monochromatic
#100D11 #100D11 #302834 #504357 #705D79

Accessibility & contrast

On white

14.20
#302834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#302834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302834
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302834#FFFFFF#000000##FFFFFF
##3028341.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262A35
Deuteranopia (green-blind)
#282B34
Tritanopia (blue-blind)
#30292C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302834;
/* rgb */ color: rgb(48, 40, 52);
/* oklch */ color: oklch(29.1% 0.024 314.4);
Tailwind
colors: {
  custom: {
    50: '#68616b',
    500: '#302834',
    950: '#000000',
  },
}
SCSS
$custom: #302834;
$custom-light: #68616b;
$custom-dark: #000000;
JSON
{
  "hex": "#302834",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 280,
    "s": 13.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29071,
    "c": 0.02417,
    "h": 314.4
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#302834
secondary
#596454
accent
#B67289
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #302834

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

Preview Lab → · Contrast checker → · Palette generator →

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