#280B3F#280B3F

#280B3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.094 H 305.6°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#280B3F
RGBrgb(40, 11, 63)
HSLhsl(273, 70%, 15%)
HSVhsv(273, 83%, 25%)
CMYKcmyk(36.5%, 82.5%, 0%, 75.3%)
CIE-LABlab(9.40, 26.03, -26.89)
CIE-LCHlch(9.40, 37.43, 314.08°)
OKLaboklab(23.06% 0.0547 -0.0764)
OKLCHoklch(23.06% 0.094 305.6)
XYZxyz(1.8917, 1.0494, 4.8045)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B3F #223F0B
analogous
#0E0B3F #280B3F #3F0B3C
triadic
#280B3F #3F280B #0B3F28
tetradic
#280B3F #3F0E0B #223F0B #0B3C3F
square
#280B3F #3F0E0B #223F0B #0B3C3F
split-complementary
#280B3F #3C3F0B #0B3F0E
monochromatic
#11051A #11051A #280B3F #491473 #6A1DA7

Accessibility & contrast

On white

17.36
#280B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280B3F
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B3F#FFFFFF#000000##FFFFFF
##280B3F1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#241724
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280b3f;
/* rgb */ color: rgb(40, 11, 63);
/* oklch */ color: oklch(23.1% 0.094 305.6);
Tailwind
colors: {
  custom: {
    50: '#654d74',
    500: '#280b3f',
    950: '#000000',
  },
}
SCSS
$custom: #280b3f;
$custom-light: #654d74;
$custom-dark: #000000;
JSON
{
  "hex": "#280b3f",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 273.462,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23055,
    "c": 0.09399,
    "h": 305.6
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#280B3F
secondary
#4E7C2A
accent
#ED3B8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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