#280D4E#280D4E

#280D4E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.110 H 296.2°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#280D4E
RGBrgb(40, 13, 78)
HSLhsl(265, 71%, 18%)
HSVhsv(265, 83%, 31%)
CMYKcmyk(48.7%, 83.3%, 0%, 69.4%)
CIE-LABlab(11.20, 29.33, -34.46)
CIE-LCHlch(11.20, 45.25, 310.40°)
OKLaboklab(24.77% 0.0486 -0.0987)
OKLCHoklch(24.77% 0.11 296.2)
XYZxyz(2.3938, 1.2890, 7.3289)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D4E #334E0D
analogous
#0D124E #280D4E #480D4E
triadic
#280D4E #4E280D #0D4E28
tetradic
#280D4E #4E0D12 #334E0D #0D4E48
square
#280D4E #4E0D12 #334E0D #0D4E48
split-complementary
#280D4E #4E480D #124E0D
monochromatic
#0D041A #0D041A #280D4E #431682 #5E1EB7

Accessibility & contrast

On white

16.70
#280D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#280D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D4E
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D4E#FFFFFF#000000##FFFFFF
##280D4E1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#1E1E2D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #280d4e;
/* rgb */ color: rgb(40, 13, 78);
/* oklch */ color: oklch(24.8% 0.110 296.2);
Tailwind
colors: {
  custom: {
    50: '#674f80',
    500: '#280d4e',
    950: '#000000',
  },
}
SCSS
$custom: #280d4e;
$custom-light: #674f80;
$custom-dark: #000000;
JSON
{
  "hex": "#280d4e",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 264.923,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24771,
    "c": 0.11001,
    "h": 296.2
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#280D4E
secondary
#63892E
accent
#EE3AA3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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