#280328#280328

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

Color values

HEX#280328
RGBrgb(40, 3, 40)
HSLhsl(300, 86%, 8%)
HSVhsv(300, 93%, 16%)
CMYKcmyk(0%, 92.5%, 0%, 84.3%)
CIE-LABlab(6.05, 24.25, -15.35)
CIE-LCHlch(6.05, 28.70, 327.67°)
OKLaboklab(19.94% 0.0699 -0.0435)
OKLCHoklch(19.94% 0.082 328.1)
XYZxyz(1.2906, 0.6695, 2.0683)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280328 #032803
analogous
#150328 #280328 #280315
triadic
#280328 #282803 #032828
tetradic
#280328 #281503 #032803 #031528
square
#280328 #281503 #032803 #031528
split-complementary
#280328 #152803 #032815
monochromatic
#1C021C #1C021C #280328 #610761 #9A0C9A

Accessibility & contrast

On white

18.52
#280328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280328
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280328#FFFFFF#000000##FFFFFF
##2803281.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#0C1527
Tritanopia (blue-blind)
#2A0814
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #280328;
/* rgb */ color: rgb(40, 3, 40);
/* oklch */ color: oklch(19.9% 0.082 328.1);
Tailwind
colors: {
  custom: {
    50: '#644762',
    500: '#280328',
    950: '#000000',
  },
}
SCSS
$custom: #280328;
$custom-light: #644762;
$custom-dark: #000000;
JSON
{
  "hex": "#280328",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19943,
    "c": 0.08234,
    "h": 328.1
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#280328
secondary
#1B6C1B
accent
#FC2C2C
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#050005
muted
#7A7779

Preview Lab

Preview with #280328

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

Preview Lab → · Contrast checker → · Palette generator →

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