#280B39#280B39

#280B39 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.087 H 310.1°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#280B39
RGBrgb(40, 11, 57)
HSLhsl(278, 68%, 13%)
HSVhsv(278, 81%, 22%)
CMYKcmyk(29.8%, 80.7%, 0%, 77.6%)
CIE-LABlab(8.87, 24.39, -23.43)
CIE-LCHlch(8.87, 33.82, 316.15°)
OKLaboklab(22.52% 0.0558 -0.0663)
OKLCHoklch(22.52% 0.087 310.1)
XYZxyz(1.7331, 0.9859, 3.9691)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B39 #1C390B
analogous
#110B39 #280B39 #390B33
triadic
#280B39 #39280B #0B3928
tetradic
#280B39 #39110B #1C390B #0B3339
square
#280B39 #39110B #1C390B #0B3339
split-complementary
#280B39 #33390B #0B3911
monochromatic
#12051A #12051A #280B39 #4C156C #701FA0

Accessibility & contrast

On white

17.54
#280B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280B39
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B39#FFFFFF#000000##FFFFFF
##280B391.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#041A38
Tritanopia (blue-blind)
#261521
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280b39;
/* rgb */ color: rgb(40, 11, 57);
/* oklch */ color: oklch(22.5% 0.087 310.1);
Tailwind
colors: {
  custom: {
    50: '#644d70',
    500: '#280b39',
    950: '#000000',
  },
}
SCSS
$custom: #280b39;
$custom-light: #644d70;
$custom-dark: #000000;
JSON
{
  "hex": "#280b39",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 277.826,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22518,
    "c": 0.08661,
    "h": 310.1
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#280B39
secondary
#46762A
accent
#EB3D7D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280B39

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

Preview Lab → · Contrast checker → · Palette generator →

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