#280F30#280F30

#280F30 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.068 H 317.3°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#280F30
RGBrgb(40, 15, 48)
HSLhsl(285, 52%, 12%)
HSVhsv(285, 69%, 19%)
CMYKcmyk(16.7%, 68.7%, 0%, 81.2%)
CIE-LABlab(9.04, 19.64, -16.60)
CIE-LCHlch(9.04, 25.72, 319.81°)
OKLaboklab(22.42% 0.0502 -0.0463)
OKLCHoklch(22.42% 0.068 317.3)
XYZxyz(1.5793, 1.0062, 2.9068)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F30 #17300F
analogous
#180F30 #280F30 #300F27
triadic
#280F30 #30280F #0F3028
tetradic
#280F30 #30180F #17300F #0F2730
square
#280F30 #30180F #17300F #0F2730
split-complementary
#280F30 #27300F #0F3018
monochromatic
#130717 #130717 #280F30 #4F1E5F #762C8D

Accessibility & contrast

On white

17.48
#280F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F30
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F30#FFFFFF#000000##FFFFFF
##280F301.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071831
Deuteranopia (green-blind)
#101A2F
Tritanopia (blue-blind)
#28141D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280f30;
/* rgb */ color: rgb(40, 15, 48);
/* oklch */ color: oklch(22.4% 0.068 317.3);
Tailwind
colors: {
  custom: {
    50: '#634f68',
    500: '#280f30',
    950: '#000000',
  },
}
SCSS
$custom: #280f30;
$custom-light: #634f68;
$custom-dark: #000000;
JSON
{
  "hex": "#280f30",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 285.455,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22421,
    "c": 0.06826,
    "h": 317.3
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#280F30
secondary
#3F6A31
accent
#DC4C6F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #280F30

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

Preview Lab → · Contrast checker → · Palette generator →

#280F30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva