#280338#280338

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

Color values

HEX#280338
RGBrgb(40, 3, 56)
HSLhsl(282, 90%, 12%)
HSVhsv(282, 95%, 22%)
CMYKcmyk(28.6%, 94.6%, 0%, 78%)
CIE-LABlab(7.24, 28.53, -25.34)
CIE-LCHlch(7.24, 38.16, 318.38°)
OKLaboklab(21.32% 0.0668 -0.0719)
OKLCHoklch(21.32% 0.098 312.9)
XYZxyz(1.6213, 0.8018, 3.8100)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280338 #133803
analogous
#0E0338 #280338 #38032E
triadic
#280338 #382803 #033828
tetradic
#280338 #380E03 #133803 #032E38
square
#280338 #380E03 #133803 #032E38
split-complementary
#280338 #2E3803 #03380E
monochromatic
#15021D #15021D #280338 #510672 #7B09AC

Accessibility & contrast

On white

18.10
#280338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#280338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280338
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280338#FFFFFF#000000##FFFFFF
##2803381.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#26101E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280338;
/* rgb */ color: rgb(40, 3, 56);
/* oklch */ color: oklch(21.3% 0.098 312.9);
Tailwind
colors: {
  custom: {
    50: '#65486f',
    500: '#280338',
    950: '#000000',
  },
}
SCSS
$custom: #280338;
$custom-light: #65486f;
$custom-dark: #000000;
JSON
{
  "hex": "#280338",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 281.887,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21323,
    "c": 0.0982,
    "h": 312.9
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#280338
secondary
#397B1C
accent
#FF2969
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280338

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

Preview Lab → · Contrast checker → · Palette generator →

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