#282430#282430

#282430 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.0% C 0.023 H 300.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#282430
RGBrgb(40, 36, 48)
HSLhsl(260, 14%, 16%)
HSVhsv(260, 25%, 19%)
CMYKcmyk(16.7%, 25%, 0%, 81.2%)
CIE-LABlab(15.10, 4.90, -7.19)
CIE-LCHlch(15.10, 8.71, 304.28°)
OKLaboklab(26.99% 0.0114 -0.0196)
OKLCHoklch(26.99% 0.023 300.1)
XYZxyz(2.0393, 1.9263, 3.0601)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282430 #2C3024
analogous
#242630 #282430 #2E2430
triadic
#282430 #302824 #243028
tetradic
#282430 #302426 #2C3024 #24302E
square
#282430 #302426 #2C3024 #24302E
split-complementary
#282430 #302E24 #263024
monochromatic
#0F0D11 #0F0D11 #282430 #453E53 #625876

Accessibility & contrast

On white

15.16
#282430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#282430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282430
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282430#FFFFFF#000000##FFFFFF
##2824301.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222631
Deuteranopia (green-blind)
#222630
Tritanopia (blue-blind)
#272628
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #282430;
/* rgb */ color: rgb(40, 36, 48);
/* oklch */ color: oklch(27.0% 0.023 300.1);
Tailwind
colors: {
  custom: {
    50: '#625e68',
    500: '#282430',
    950: '#000000',
  },
}
SCSS
$custom: #282430;
$custom-light: #625e68;
$custom-dark: #000000;
JSON
{
  "hex": "#282430",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 48
  },
  "hsl": {
    "h": 260,
    "s": 14.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26993,
    "c": 0.02264,
    "h": 300.1
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#282430
secondary
#5B614F
accent
#B771A0
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #282430

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

Preview Lab → · Contrast checker → · Palette generator →

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