#280239#280239

#280239 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.101 H 312.3°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#280239
RGBrgb(40, 2, 57)
HSLhsl(281, 93%, 12%)
HSVhsv(281, 96%, 22%)
CMYKcmyk(29.8%, 96.5%, 0%, 77.6%)
CIE-LABlab(7.14, 29.35, -26.24)
CIE-LCHlch(7.14, 39.37, 318.20°)
OKLaboklab(21.27% 0.068 -0.0746)
OKLCHoklch(21.27% 0.101 312.3)
XYZxyz(1.6352, 0.7900, 3.9364)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280239 #133902
analogous
#0D0239 #280239 #39022F
triadic
#280239 #392802 #023928
tetradic
#280239 #390D02 #133902 #022F39
square
#280239 #390D02 #133902 #022F39
split-complementary
#280239 #2F3902 #02390D
monochromatic
#15011E #15011E #280239 #510474 #7B06AF

Accessibility & contrast

On white

18.13
#280239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#280239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280239
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280239#FFFFFF#000000##FFFFFF
##2802391.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#260F1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280239;
/* rgb */ color: rgb(40, 2, 57);
/* oklch */ color: oklch(21.3% 0.101 312.3);
Tailwind
colors: {
  custom: {
    50: '#654770',
    500: '#280239',
    950: '#000000',
  },
}
SCSS
$custom: #280239;
$custom-light: #654770;
$custom-dark: #000000;
JSON
{
  "hex": "#280239",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 281.455,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21274,
    "c": 0.10095,
    "h": 312.3
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#280239
secondary
#397D1A
accent
#FF296B
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060007
muted
#7A777A

Preview Lab

Preview with #280239

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

Preview Lab → · Contrast checker → · Palette generator →

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