#30282F#30282F

#30282F is a dark, near-neutral purple. Relative luminance 0.024; OKLCH L 28.8% C 0.017 H 330.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#30282F
RGBrgb(48, 40, 47)
HSLhsl(308, 9%, 17%)
HSVhsv(308, 17%, 19%)
CMYKcmyk(0%, 16.7%, 2.1%, 81.2%)
CIE-LABlab(17.23, 5.27, -3.19)
CIE-LCHlch(17.23, 6.16, 328.85°)
OKLaboklab(28.85% 0.0147 -0.0085)
OKLCHoklch(28.85% 0.017 330.1)
XYZxyz(2.4907, 2.3512, 3.0114)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30282F #283029
analogous
#2D2830 #30282F #30282B
triadic
#30282F #2F3028 #282F30
tetradic
#30282F #302D28 #283029 #282B30
square
#30282F #302D28 #283029 #282B30
split-complementary
#30282F #2B3028 #28302D
monochromatic
#110E10 #110E10 #30282F #514450 #736070

Accessibility & contrast

On white

14.28
#30282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#30282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30282F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30282F#FFFFFF#000000##FFFFFF
##30282F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2F
Deuteranopia (green-blind)
#292B2F
Tritanopia (blue-blind)
#31282A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #30282f;
/* rgb */ color: rgb(48, 40, 47);
/* oklch */ color: oklch(28.8% 0.017 330.1);
Tailwind
colors: {
  custom: {
    50: '#686167',
    500: '#30282f',
    950: '#000000',
  },
}
SCSS
$custom: #30282f;
$custom-light: #686167;
$custom-dark: #000000;
JSON
{
  "hex": "#30282f",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 307.5,
    "s": 9.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2885,
    "c": 0.01699,
    "h": 330.1
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#30282F
secondary
#546056
accent
#B27D76
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #30282F

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

Preview Lab → · Contrast checker → · Palette generator →

#30282F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva