#280334#280334

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

Color values

HEX#280334
RGBrgb(40, 3, 52)
HSLhsl(285, 89%, 11%)
HSVhsv(285, 94%, 20%)
CMYKcmyk(23.1%, 94.2%, 0%, 79.6%)
CIE-LABlab(6.90, 27.46, -22.96)
CIE-LCHlch(6.90, 35.79, 320.09°)
OKLaboklab(20.95% 0.068 -0.0651)
OKLCHoklch(20.95% 0.094 316.2)
XYZxyz(1.5274, 0.7642, 3.3152)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280334 #0F3403
analogous
#0F0334 #280334 #340327
triadic
#280334 #342803 #033428
tetradic
#280334 #340F03 #0F3403 #032734
square
#280334 #340F03 #0F3403 #032734
split-complementary
#280334 #273403 #03340F
monochromatic
#16021D #16021D #280334 #55066E #810AA8

Accessibility & contrast

On white

18.22
#280334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280334
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280334#FFFFFF#000000##FFFFFF
##2803341.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#021633
Tritanopia (blue-blind)
#270E1B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280334;
/* rgb */ color: rgb(40, 3, 52);
/* oklch */ color: oklch(21.0% 0.094 316.2);
Tailwind
colors: {
  custom: {
    50: '#64486c',
    500: '#280334',
    950: '#000000',
  },
}
SCSS
$custom: #280334;
$custom-light: #64486c;
$custom-dark: #000000;
JSON
{
  "hex": "#280334",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 285.306,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20951,
    "c": 0.09414,
    "h": 316.2
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#280334
secondary
#32771C
accent
#FF295D
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #280334

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

Preview Lab → · Contrast checker → · Palette generator →

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