#280236#280236

#280236 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.098 H 314.8°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#280236
RGBrgb(40, 2, 54)
HSLhsl(284, 93%, 11%)
HSVhsv(284, 96%, 21%)
CMYKcmyk(25.9%, 96.3%, 0%, 78.8%)
CIE-LABlab(6.87, 28.54, -24.48)
CIE-LCHlch(6.87, 37.60, 319.38°)
OKLaboklab(20.99% 0.069 -0.0695)
OKLCHoklch(20.99% 0.098 314.8)
XYZxyz(1.5625, 0.7609, 3.5539)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280236 #103602
analogous
#0E0236 #280236 #36022A
triadic
#280236 #362802 #023628
tetradic
#280236 #360E02 #103602 #022A36
square
#280236 #360E02 #103602 #022A36
split-complementary
#280236 #2A3602 #02360E
monochromatic
#16011E #16011E #280236 #540471 #7F06AC

Accessibility & contrast

On white

18.23
#280236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#280236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280236
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280236#FFFFFF#000000##FFFFFF
##2802361.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#270E1C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280236;
/* rgb */ color: rgb(40, 2, 54);
/* oklch */ color: oklch(21.0% 0.098 314.8);
Tailwind
colors: {
  custom: {
    50: '#65476d',
    500: '#280236',
    950: '#000000',
  },
}
SCSS
$custom: #280236;
$custom-light: #65476d;
$custom-dark: #000000;
JSON
{
  "hex": "#280236",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 283.846,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20986,
    "c": 0.09798,
    "h": 314.8
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#280236
secondary
#347A1A
accent
#FF2962
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #280236

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

Preview Lab → · Contrast checker → · Palette generator →

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