#282630#282630

#282630 is a dark, near-neutral violet. Relative luminance 0.021; OKLCH L 27.5% C 0.018 H 294.3°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#282630
RGBrgb(40, 38, 48)
HSLhsl(252, 12%, 17%)
HSVhsv(252, 21%, 19%)
CMYKcmyk(16.7%, 20.8%, 0%, 81.2%)
CIE-LABlab(15.75, 3.48, -6.20)
CIE-LCHlch(15.75, 7.11, 299.30°)
OKLaboklab(27.5% 0.0076 -0.0168)
OKLCHoklch(27.5% 0.018 294.3)
XYZxyz(2.1016, 2.0507, 3.0808)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282630 #2E3026
analogous
#262930 #282630 #2D2630
triadic
#282630 #302826 #263028
tetradic
#282630 #302629 #2E3026 #26302D
square
#282630 #302629 #2E3026 #26302D
split-complementary
#282630 #302D26 #293026
monochromatic
#0E0E11 #0E0E11 #282630 #444152 #615C74

Accessibility & contrast

On white

14.89
#282630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#282630 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282630
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282630#FFFFFF#000000##FFFFFF
##2826301.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#242730
Tritanopia (blue-blind)
#272729
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #282630;
/* rgb */ color: rgb(40, 38, 48);
/* oklch */ color: oklch(27.5% 0.018 294.3);
Tailwind
colors: {
  custom: {
    50: '#626068',
    500: '#282630',
    950: '#000000',
  },
}
SCSS
$custom: #282630;
$custom-light: #626068;
$custom-dark: #000000;
JSON
{
  "hex": "#282630",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 48
  },
  "hsl": {
    "h": 252,
    "s": 11.628,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27503,
    "c": 0.01847,
    "h": 294.3
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#282630
secondary
#5D6052
accent
#B573A7
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #282630

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

Preview Lab → · Contrast checker → · Palette generator →

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