#280233#280233

#280233 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.7% C 0.095 H 317.3°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#280233
RGBrgb(40, 2, 51)
HSLhsl(287, 92%, 10%)
HSVhsv(287, 96%, 20%)
CMYKcmyk(21.6%, 96.1%, 0%, 80%)
CIE-LABlab(6.63, 27.73, -22.67)
CIE-LCHlch(6.63, 35.82, 320.73°)
OKLaboklab(20.71% 0.0699 -0.0644)
OKLCHoklch(20.71% 0.095 317.3)
XYZxyz(1.4942, 0.7336, 3.1942)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280233 #0D3302
analogous
#100233 #280233 #330225
triadic
#280233 #332802 #023328
tetradic
#280233 #331002 #0D3302 #022533
square
#280233 #331002 #0D3302 #022533
split-complementary
#280233 #253302 #023310
monochromatic
#17011D #17011D #280233 #56046E #8407A9

Accessibility & contrast

On white

18.31
#280233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280233
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280233#FFFFFF#000000##FFFFFF
##2802331.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#031632
Tritanopia (blue-blind)
#270C1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280233;
/* rgb */ color: rgb(40, 2, 51);
/* oklch */ color: oklch(20.7% 0.095 317.3);
Tailwind
colors: {
  custom: {
    50: '#64476b',
    500: '#280233',
    950: '#000000',
  },
}
SCSS
$custom: #280233;
$custom-light: #64476b;
$custom-dark: #000000;
JSON
{
  "hex": "#280233",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 286.531,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20707,
    "c": 0.09504,
    "h": 317.3
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#280233
secondary
#2F771A
accent
#FF2959
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #280233

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

Preview Lab → · Contrast checker → · Palette generator →

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