#280945#280945

#280945 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.104 H 302.2°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#280945
RGBrgb(40, 9, 69)
HSLhsl(271, 77%, 15%)
HSVhsv(271, 87%, 27%)
CMYKcmyk(42%, 87%, 0%, 72.9%)
CIE-LABlab(9.61, 28.71, -30.79)
CIE-LCHlch(9.61, 42.10, 313.00°)
OKLaboklab(23.38% 0.0553 -0.0879)
OKLCHoklch(23.38% 0.104 302.2)
XYZxyz(2.0467, 1.0762, 5.7290)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280945 #264509
analogous
#0A0945 #280945 #450944
triadic
#280945 #452809 #094528
tetradic
#280945 #450A09 #264509 #094445
square
#280945 #450A09 #264509 #094445
split-complementary
#280945 #444509 #09450A
monochromatic
#10041B #10041B #280945 #47107B #6717B1

Accessibility & contrast

On white

17.28
#280945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#280945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280945
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280945#FFFFFF#000000##FFFFFF
##2809451.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#221927
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280945;
/* rgb */ color: rgb(40, 9, 69);
/* oklch */ color: oklch(23.4% 0.104 302.2);
Tailwind
colors: {
  custom: {
    50: '#664c79',
    500: '#280945',
    950: '#000000',
  },
}
SCSS
$custom: #280945;
$custom-light: #664c79;
$custom-dark: #000000;
JSON
{
  "hex": "#280945",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 271,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23382,
    "c": 0.10383,
    "h": 302.2
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#280945
secondary
#538327
accent
#F33491
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280945

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

Preview Lab → · Contrast checker → · Palette generator →

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