#280B45#280B45

#280B45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.101 H 301.7°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#280B45
RGBrgb(40, 11, 69)
HSLhsl(270, 73%, 16%)
HSVhsv(270, 84%, 27%)
CMYKcmyk(42%, 84.1%, 0%, 72.9%)
CIE-LABlab(9.95, 27.73, -30.23)
CIE-LCHlch(9.95, 41.02, 312.53°)
OKLaboklab(23.62% 0.0532 -0.0862)
OKLCHoklch(23.62% 0.101 301.7)
XYZxyz(2.0687, 1.1201, 5.7363)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B45 #28450B
analogous
#0B0B45 #280B45 #450B45
triadic
#280B45 #45280B #0B4528
tetradic
#280B45 #450B0B #28450B #0B4545
square
#280B45 #450B0B #28450B #0B4545
split-complementary
#280B45 #45450B #0B450B
monochromatic
#0F041A #0F041A #280B45 #47137A #651CAF

Accessibility & contrast

On white

17.16
#280B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280B45
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B45#FFFFFF#000000##FFFFFF
##280B451.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#221A27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280b45;
/* rgb */ color: rgb(40, 11, 69);
/* oklch */ color: oklch(23.6% 0.101 301.7);
Tailwind
colors: {
  custom: {
    50: '#664d79',
    500: '#280b45',
    950: '#000000',
  },
}
SCSS
$custom: #280b45;
$custom-light: #664d79;
$custom-dark: #000000;
JSON
{
  "hex": "#280b45",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 270,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23624,
    "c": 0.10135,
    "h": 301.7
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#280B45
secondary
#56812A
accent
#EF3994
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280B45

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

Preview Lab → · Contrast checker → · Palette generator →

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