#280226#280226

#280226 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.083 H 330.5°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#280226
RGBrgb(40, 2, 38)
HSLhsl(303, 90%, 8%)
HSVhsv(303, 95%, 16%)
CMYKcmyk(0%, 95%, 5%, 84.3%)
CIE-LABlab(5.73, 24.24, -14.32)
CIE-LCHlch(5.73, 28.15, 329.43°)
OKLaboklab(19.62% 0.072 -0.0408)
OKLCHoklch(19.62% 0.083 330.5)
XYZxyz(1.2466, 0.6346, 1.8902)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280226 #022804
analogous
#170228 #280226 #280213
triadic
#280226 #262802 #022628
tetradic
#280226 #281702 #022804 #021328
square
#280226 #281702 #022804 #021328
split-complementary
#280226 #132802 #022817
monochromatic
#1D011C #1D011C #280226 #62055D #9D0895

Accessibility & contrast

On white

18.64
#280226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#280226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280226
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280226#FFFFFF#000000##FFFFFF
##2802261.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F27
Deuteranopia (green-blind)
#0D1525
Tritanopia (blue-blind)
#2A0613
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #280226;
/* rgb */ color: rgb(40, 2, 38);
/* oklch */ color: oklch(19.6% 0.083 330.5);
Tailwind
colors: {
  custom: {
    50: '#644760',
    500: '#280226',
    950: '#000000',
  },
}
SCSS
$custom: #280226;
$custom-light: #644760;
$custom-dark: #000000;
JSON
{
  "hex": "#280226",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 303.158,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19621,
    "c": 0.08277,
    "h": 330.5
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#280226
secondary
#196D1D
accent
#FF3429
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050005
muted
#7A7779

Preview Lab

Preview with #280226

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

Preview Lab → · Contrast checker → · Palette generator →

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