#280A41#280A41

#280A41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.098 H 304.5°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#280A41
RGBrgb(40, 10, 65)
HSLhsl(273, 73%, 15%)
HSVhsv(273, 85%, 25%)
CMYKcmyk(38.5%, 84.6%, 0%, 74.5%)
CIE-LABlab(9.40, 27.10, -28.30)
CIE-LCHlch(9.40, 39.19, 313.76°)
OKLaboklab(23.12% 0.0554 -0.0806)
OKLCHoklch(23.12% 0.098 304.5)
XYZxyz(1.9375, 1.0499, 5.1006)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A41 #23410A
analogous
#0C0A41 #280A41 #410A3F
triadic
#280A41 #41280A #0A4128
tetradic
#280A41 #410C0A #23410A #0A3F41
square
#280A41 #410C0A #23410A #0A3F41
split-complementary
#280A41 #3F410A #0A410C
monochromatic
#10041B #10041B #280A41 #491276 #691AAB

Accessibility & contrast

On white

17.36
#280A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280A41
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A41#FFFFFF#000000##FFFFFF
##280A411.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280a41;
/* rgb */ color: rgb(40, 10, 65);
/* oklch */ color: oklch(23.1% 0.098 304.5);
Tailwind
colors: {
  custom: {
    50: '#654c76',
    500: '#280a41',
    950: '#000000',
  },
}
SCSS
$custom: #280a41;
$custom-light: #654c76;
$custom-dark: #000000;
JSON
{
  "hex": "#280a41",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 272.727,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23115,
    "c": 0.09777,
    "h": 304.5
  },
  "luminance": 0.0105
}

Semantic roles & 50–950 ramp

primary
#280A41
secondary
#507E29
accent
#F0388C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280A41

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

Preview Lab → · Contrast checker → · Palette generator →

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