#280B4C#280B4C

#280B4C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.110 H 297.7°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#280B4C
RGBrgb(40, 11, 76)
HSLhsl(267, 75%, 17%)
HSVhsv(267, 86%, 30%)
CMYKcmyk(47.4%, 85.5%, 0%, 70.2%)
CIE-LABlab(10.65, 29.74, -33.98)
CIE-LCHlch(10.65, 45.16, 311.19°)
OKLaboklab(24.32% 0.0511 -0.0973)
OKLCHoklch(24.32% 0.11 297.7)
XYZxyz(2.2989, 1.2122, 6.9489)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B4C #2F4C0B
analogous
#0B0F4C #280B4C #490B4C
triadic
#280B4C #4C280B #0B4C28
tetradic
#280B4C #4C0B0F #2F4C0B #0B4C49
square
#280B4C #4C0B0F #2F4C0B #0B4C49
split-complementary
#280B4C #4C490B #0F4C0B
monochromatic
#0E041B #0E041B #280B4C #441381 #601AB7

Accessibility & contrast

On white

16.90
#280B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#280B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280B4C
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B4C#FFFFFF#000000##FFFFFF
##280B4C1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#1F1D2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #280b4c;
/* rgb */ color: rgb(40, 11, 76);
/* oklch */ color: oklch(24.3% 0.110 297.7);
Tailwind
colors: {
  custom: {
    50: '#674e7f',
    500: '#280b4c',
    950: '#000000',
  },
}
SCSS
$custom: #280b4c;
$custom-light: #674e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#280b4c",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 266.769,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24324,
    "c": 0.10988,
    "h": 297.7
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#280B4C
secondary
#5E882B
accent
#F1369E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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