#280D3C#280D3C

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

Color values

HEX#280D3C
RGBrgb(40, 13, 60)
HSLhsl(274, 64%, 14%)
HSVhsv(274, 78%, 24%)
CMYKcmyk(33.3%, 78.3%, 0%, 76.5%)
CIE-LABlab(9.52, 24.10, -24.54)
CIE-LCHlch(9.52, 34.40, 314.49°)
OKLaboklab(23.06% 0.0527 -0.0695)
OKLCHoklch(23.06% 0.087 307.2)
XYZxyz(1.8344, 1.0652, 4.3831)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D3C #213C0D
analogous
#110D3C #280D3C #3C0D39
triadic
#280D3C #3C280D #0D3C28
tetradic
#280D3C #3C110D #213C0D #0D393C
square
#280D3C #3C110D #213C0D #0D393C
split-complementary
#280D3C #393C0D #0D3C11
monochromatic
#110519 #110519 #280D3C #4A186E #6B23A1

Accessibility & contrast

On white

17.31
#280D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280D3C
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D3C#FFFFFF#000000##FFFFFF
##280D3C1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#031B3B
Tritanopia (blue-blind)
#251723
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280d3c;
/* rgb */ color: rgb(40, 13, 60);
/* oklch */ color: oklch(23.1% 0.087 307.2);
Tailwind
colors: {
  custom: {
    50: '#644e72',
    500: '#280d3c',
    950: '#000000',
  },
}
SCSS
$custom: #280d3c;
$custom-light: #644e72;
$custom-dark: #000000;
JSON
{
  "hex": "#280d3c",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 274.468,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23063,
    "c": 0.08727,
    "h": 307.2
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#280D3C
secondary
#4D782D
accent
#E74087
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #280D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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