#280B49#280B49

#280B49 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.106 H 299.3°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#280B49
RGBrgb(40, 11, 73)
HSLhsl(268, 74%, 16%)
HSVhsv(268, 85%, 29%)
CMYKcmyk(45.2%, 84.9%, 0%, 71.4%)
CIE-LABlab(10.35, 28.87, -32.39)
CIE-LCHlch(10.35, 43.39, 311.71°)
OKLaboklab(24.02% 0.0521 -0.0926)
OKLCHoklch(24.02% 0.106 299.3)
XYZxyz(2.1970, 1.1715, 6.4124)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B49 #2C490B
analogous
#0B0D49 #280B49 #470B49
triadic
#280B49 #49280B #0B4928
tetradic
#280B49 #490B0D #2C490B #0B4947
square
#280B49 #490B0D #2C490B #0B4947
split-complementary
#280B49 #49470B #0D490B
monochromatic
#0F041B #0F041B #280B49 #45137E #621BB3

Accessibility & contrast

On white

17.02
#280B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#280B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280B49
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B49#FFFFFF#000000##FFFFFF
##280B491.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#201C2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280b49;
/* rgb */ color: rgb(40, 11, 73);
/* oklch */ color: oklch(24.0% 0.106 299.3);
Tailwind
colors: {
  custom: {
    50: '#664d7c',
    500: '#280b49',
    950: '#000000',
  },
}
SCSS
$custom: #280b49;
$custom-light: #664d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#280b49",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 268.065,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24019,
    "c": 0.10623,
    "h": 299.3
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#280B49
secondary
#5B852A
accent
#F0379A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #280B49

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

Preview Lab → · Contrast checker → · Palette generator →

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