#280F42#280F42

#280F42 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.092 H 302.3°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#280F42
RGBrgb(40, 15, 66)
HSLhsl(269, 63%, 16%)
HSVhsv(269, 77%, 26%)
CMYKcmyk(39.4%, 77.3%, 0%, 74.1%)
CIE-LABlab(10.45, 24.67, -27.30)
CIE-LCHlch(10.45, 36.80, 312.11°)
OKLaboklab(23.89% 0.0492 -0.0777)
OKLCHoklch(23.89% 0.092 302.3)
XYZxyz(2.0290, 1.1861, 5.2752)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F42 #29420F
analogous
#0F0F42 #280F42 #410F42
triadic
#280F42 #42280F #0F4228
tetradic
#280F42 #420F0F #29420F #0F4241
square
#280F42 #420F0F #29420F #0F4241
split-complementary
#280F42 #42410F #0F420F
monochromatic
#0F0619 #0F0619 #280F42 #461A74 #6426A6

Accessibility & contrast

On white

16.97
#280F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#280F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F42
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F42#FFFFFF#000000##FFFFFF
##280F421.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#001C41
Tritanopia (blue-blind)
#231B27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280f42;
/* rgb */ color: rgb(40, 15, 66);
/* oklch */ color: oklch(23.9% 0.092 302.3);
Tailwind
colors: {
  custom: {
    50: '#654f77',
    500: '#280f42',
    950: '#000000',
  },
}
SCSS
$custom: #280f42;
$custom-light: #654f77;
$custom-dark: #000000;
JSON
{
  "hex": "#280f42",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 269.412,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23892,
    "c": 0.09193,
    "h": 302.3
  },
  "luminance": 0.01186
}

Semantic roles & 50–950 ramp

primary
#280F42
secondary
#577C30
accent
#E64296
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #280F42

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

Preview Lab → · Contrast checker → · Palette generator →

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