#280335#280335

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

Color values

HEX#280335
RGBrgb(40, 3, 53)
HSLhsl(284, 89%, 11%)
HSVhsv(284, 94%, 21%)
CMYKcmyk(24.5%, 94.3%, 0%, 79.2%)
CIE-LABlab(6.99, 27.72, -23.57)
CIE-LCHlch(6.99, 36.39, 319.63°)
OKLaboklab(21.04% 0.0677 -0.0668)
OKLCHoklch(21.04% 0.095 315.4)
XYZxyz(1.5501, 0.7733, 3.4351)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280335 #103503
analogous
#0F0335 #280335 #350329
triadic
#280335 #352803 #033528
tetradic
#280335 #350F03 #103503 #032935
square
#280335 #350F03 #103503 #032935
split-complementary
#280335 #293503 #03350F
monochromatic
#16021D #16021D #280335 #54066F #7F0AA9

Accessibility & contrast

On white

18.19
#280335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280335
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280335#FFFFFF#000000##FFFFFF
##2803351.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280335;
/* rgb */ color: rgb(40, 3, 53);
/* oklch */ color: oklch(21.0% 0.095 315.4);
Tailwind
colors: {
  custom: {
    50: '#64486d',
    500: '#280335',
    950: '#000000',
  },
}
SCSS
$custom: #280335;
$custom-light: #64486d;
$custom-dark: #000000;
JSON
{
  "hex": "#280335",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 284.4,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21043,
    "c": 0.09515,
    "h": 315.4
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#280335
secondary
#34781C
accent
#FF2960
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #280335

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

Preview Lab → · Contrast checker → · Palette generator →

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