#280942#280942

#280942 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.100 H 304.1°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#280942
RGBrgb(40, 9, 66)
HSLhsl(273, 76%, 15%)
HSVhsv(273, 86%, 26%)
CMYKcmyk(39.4%, 86.4%, 0%, 74.1%)
CIE-LABlab(9.32, 27.88, -29.15)
CIE-LCHlch(9.32, 40.34, 313.73°)
OKLaboklab(23.09% 0.0562 -0.0831)
OKLCHoklch(23.09% 0.1 304.1)
XYZxyz(1.9559, 1.0398, 5.2509)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280942 #234209
analogous
#0C0942 #280942 #420940
triadic
#280942 #422809 #094228
tetradic
#280942 #420C09 #234209 #094042
square
#280942 #420C09 #234209 #094042
split-complementary
#280942 #404209 #09420C
monochromatic
#10041B #10041B #280942 #491078 #6918AE

Accessibility & contrast

On white

17.38
#280942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280942
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280942#FFFFFF#000000##FFFFFF
##2809421.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#231825
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280942;
/* rgb */ color: rgb(40, 9, 66);
/* oklch */ color: oklch(23.1% 0.100 304.1);
Tailwind
colors: {
  custom: {
    50: '#654c77',
    500: '#280942',
    950: '#000000',
  },
}
SCSS
$custom: #280942;
$custom-light: #654c77;
$custom-dark: #000000;
JSON
{
  "hex": "#280942",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 272.632,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23088,
    "c": 0.10028,
    "h": 304.1
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#280942
secondary
#508027
accent
#F3358C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280942

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

Preview Lab → · Contrast checker → · Palette generator →

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