#280B3A#280B3A

#280B3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.088 H 309.3°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#280B3A
RGBrgb(40, 11, 58)
HSLhsl(277, 68%, 14%)
HSVhsv(277, 81%, 23%)
CMYKcmyk(31%, 81%, 0%, 77.3%)
CIE-LABlab(8.96, 24.66, -24.01)
CIE-LCHlch(8.96, 34.42, 315.76°)
OKLaboklab(22.61% 0.0556 -0.068)
OKLCHoklch(22.61% 0.088 309.3)
XYZxyz(1.7583, 0.9960, 4.1018)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B3A #1D3A0B
analogous
#100B3A #280B3A #3A0B34
triadic
#280B3A #3A280B #0B3A28
tetradic
#280B3A #3A100B #1D3A0B #0B343A
square
#280B3A #3A100B #1D3A0B #0B343A
split-complementary
#280B3A #343A0B #0B3A10
monochromatic
#12051A #12051A #280B3A #4B156D #6F1FA1

Accessibility & contrast

On white

17.51
#280B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280B3A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B3A#FFFFFF#000000##FFFFFF
##280B3A1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#031A39
Tritanopia (blue-blind)
#251521
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280b3a;
/* rgb */ color: rgb(40, 11, 58);
/* oklch */ color: oklch(22.6% 0.088 309.3);
Tailwind
colors: {
  custom: {
    50: '#644d70',
    500: '#280b3a',
    950: '#000000',
  },
}
SCSS
$custom: #280b3a;
$custom-light: #644d70;
$custom-dark: #000000;
JSON
{
  "hex": "#280b3a",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 277.021,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22605,
    "c": 0.08784,
    "h": 309.3
  },
  "luminance": 0.00996
}

Semantic roles & 50–950 ramp

primary
#280B3A
secondary
#47772A
accent
#EB3D80
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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