#280A39#280A39

#280A39 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.088 H 310.3°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#280A39
RGBrgb(40, 10, 57)
HSLhsl(278, 70%, 13%)
HSVhsv(278, 82%, 22%)
CMYKcmyk(29.8%, 82.5%, 0%, 77.6%)
CIE-LABlab(8.68, 24.92, -23.73)
CIE-LCHlch(8.68, 34.42, 316.40°)
OKLaboklab(22.38% 0.057 -0.0672)
OKLCHoklch(22.38% 0.088 310.3)
XYZxyz(1.7220, 0.9636, 3.9654)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A39 #1B390A
analogous
#100A39 #280A39 #390A32
triadic
#280A39 #39280A #0A3928
tetradic
#280A39 #39100A #1B390A #0A3239
square
#280A39 #39100A #1B390A #0A3239
split-complementary
#280A39 #32390A #0A3910
monochromatic
#12051A #12051A #280A39 #4D136D #711CA1

Accessibility & contrast

On white

17.61
#280A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280A39
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A39#FFFFFF#000000##FFFFFF
##280A391.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#041938
Tritanopia (blue-blind)
#261420
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280a39;
/* rgb */ color: rgb(40, 10, 57);
/* oklch */ color: oklch(22.4% 0.088 310.3);
Tailwind
colors: {
  custom: {
    50: '#644c70',
    500: '#280a39',
    950: '#000000',
  },
}
SCSS
$custom: #280a39;
$custom-light: #644c70;
$custom-dark: #000000;
JSON
{
  "hex": "#280a39",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 278.298,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22384,
    "c": 0.08811,
    "h": 310.3
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#280A39
secondary
#457628
accent
#ED3B7B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280A39

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

Preview Lab → · Contrast checker → · Palette generator →

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