#280D3F#280D3F

#280D3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.091 H 305.0°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#280D3F
RGBrgb(40, 13, 63)
HSLhsl(272, 66%, 15%)
HSVhsv(272, 79%, 25%)
CMYKcmyk(36.5%, 79.4%, 0%, 75.3%)
CIE-LABlab(9.78, 24.95, -26.26)
CIE-LCHlch(9.78, 36.22, 313.53°)
OKLaboklab(23.33% 0.0522 -0.0746)
OKLCHoklch(23.33% 0.091 305)
XYZxyz(1.9160, 1.0979, 4.8126)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D3F #243F0D
analogous
#0F0D3F #280D3F #3F0D3D
triadic
#280D3F #3F280D #0D3F28
tetradic
#280D3F #3F0F0D #243F0D #0D3D3F
square
#280D3F #3F0F0D #243F0D #0D3D3F
split-complementary
#280D3F #3D3F0D #0D3F0F
monochromatic
#100519 #100519 #280D3F #481772 #6822A4

Accessibility & contrast

On white

17.22
#280D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#280D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D3F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D3F#FFFFFF#000000##FFFFFF
##280D3F1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#241824
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280d3f;
/* rgb */ color: rgb(40, 13, 63);
/* oklch */ color: oklch(23.3% 0.091 305.0);
Tailwind
colors: {
  custom: {
    50: '#654e74',
    500: '#280d3f',
    950: '#000000',
  },
}
SCSS
$custom: #280d3f;
$custom-light: #654e74;
$custom-dark: #000000;
JSON
{
  "hex": "#280d3f",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 272.4,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23329,
    "c": 0.09109,
    "h": 305
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#280D3F
secondary
#517B2D
accent
#E93F8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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