#280229#280229

#280229 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.086 H 327.1°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#280229
RGBrgb(40, 2, 41)
HSLhsl(298, 91%, 8%)
HSVhsv(298, 95%, 16%)
CMYKcmyk(2.4%, 95.1%, 0%, 83.9%)
CIE-LABlab(5.91, 25.03, -16.32)
CIE-LCHlch(5.91, 29.88, 326.89°)
OKLaboklab(19.85% 0.0718 -0.0464)
OKLCHoklch(19.85% 0.086 327.1)
XYZxyz(1.2970, 0.6547, 2.1555)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280229 #032902
analogous
#140229 #280229 #290216
triadic
#280229 #292802 #022928
tetradic
#280229 #291402 #032902 #021629
square
#280229 #291402 #032902 #021629
split-complementary
#280229 #162902 #022914
monochromatic
#1C011D #1C011D #280229 #610563 #9A089E

Accessibility & contrast

On white

18.57
#280229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280229
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280229#FFFFFF#000000##FFFFFF
##2802291.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102A
Deuteranopia (green-blind)
#0B1528
Tritanopia (blue-blind)
#290715
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #280229;
/* rgb */ color: rgb(40, 2, 41);
/* oklch */ color: oklch(19.9% 0.086 327.1);
Tailwind
colors: {
  custom: {
    50: '#644763',
    500: '#280229',
    950: '#000000',
  },
}
SCSS
$custom: #280229;
$custom-light: #644763;
$custom-dark: #000000;
JSON
{
  "hex": "#280229",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 298.462,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19852,
    "c": 0.08551,
    "h": 327.1
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#280229
secondary
#1B6E19
accent
#FF292E
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#050005
muted
#7A7779

Preview Lab

Preview with #280229

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

Preview Lab → · Contrast checker → · Palette generator →

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