#280940#280940

#280940 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.098 H 305.4°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#280940
RGBrgb(40, 9, 64)
HSLhsl(274, 75%, 14%)
HSVhsv(274, 86%, 25%)
CMYKcmyk(37.5%, 85.9%, 0%, 74.9%)
CIE-LABlab(9.13, 27.33, -28.03)
CIE-LCHlch(9.13, 39.15, 314.28°)
OKLaboklab(22.9% 0.0567 -0.0798)
OKLCHoklch(22.9% 0.098 305.4)
XYZxyz(1.8980, 1.0167, 4.9457)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280940 #214009
analogous
#0D0940 #280940 #40093D
triadic
#280940 #402809 #094028
tetradic
#280940 #400D09 #214009 #093D40
square
#280940 #400D09 #214009 #093D40
split-complementary
#280940 #3D4009 #09400D
monochromatic
#11041B #11041B #280940 #4A1176 #6B18AB

Accessibility & contrast

On white

17.45
#280940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280940
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280940#FFFFFF#000000##FFFFFF
##2809401.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#241724
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280940;
/* rgb */ color: rgb(40, 9, 64);
/* oklch */ color: oklch(22.9% 0.098 305.4);
Tailwind
colors: {
  custom: {
    50: '#654c75',
    500: '#280940',
    950: '#000000',
  },
}
SCSS
$custom: #280940;
$custom-light: #654c75;
$custom-dark: #000000;
JSON
{
  "hex": "#280940",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 273.818,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22896,
    "c": 0.0979,
    "h": 305.4
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#280940
secondary
#4D7E27
accent
#F23688
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280940

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

Preview Lab → · Contrast checker → · Palette generator →

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