#30262F#30262F

#30262F is a dark, muted purple. Relative luminance 0.022; OKLCH L 28.4% C 0.022 H 329.4°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#30262F
RGBrgb(48, 38, 47)
HSLhsl(306, 12%, 17%)
HSVhsv(306, 21%, 19%)
CMYKcmyk(0%, 20.8%, 2.1%, 81.2%)
CIE-LABlab(16.60, 6.67, -4.13)
CIE-LCHlch(16.60, 7.85, 328.27°)
OKLaboklab(28.36% 0.0186 -0.011)
OKLCHoklch(28.36% 0.022 329.4)
XYZxyz(2.4251, 2.2199, 2.9895)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30262F #263027
analogous
#2C2630 #30262F #30262A
triadic
#30262F #2F3026 #262F30
tetradic
#30262F #302C26 #263027 #262A30
square
#30262F #302C26 #263027 #262A30
split-complementary
#30262F #2A3026 #26302C
monochromatic
#110E11 #110E11 #30262F #524150 #745C72

Accessibility & contrast

On white

14.54
#30262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#30262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30262F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30262F#FFFFFF#000000##FFFFFF
##30262F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282F
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#312729
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30262f;
/* rgb */ color: rgb(48, 38, 47);
/* oklch */ color: oklch(28.4% 0.022 329.4);
Tailwind
colors: {
  custom: {
    50: '#686067',
    500: '#30262f',
    950: '#000000',
  },
}
SCSS
$custom: #30262f;
$custom-light: #686067;
$custom-dark: #000000;
JSON
{
  "hex": "#30262f",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 306,
    "s": 11.628,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28361,
    "c": 0.02163,
    "h": 329.4
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#30262F
secondary
#526053
accent
#B57A73
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #30262F

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

Preview Lab → · Contrast checker → · Palette generator →

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