#280C39#280C39

#280C39 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.085 H 309.8°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#280C39
RGBrgb(40, 12, 57)
HSLhsl(277, 65%, 14%)
HSVhsv(277, 79%, 22%)
CMYKcmyk(29.8%, 78.9%, 0%, 77.6%)
CIE-LABlab(9.07, 23.84, -23.11)
CIE-LCHlch(9.07, 33.20, 315.89°)
OKLaboklab(22.66% 0.0544 -0.0653)
OKLCHoklch(22.66% 0.085 309.8)
XYZxyz(1.7449, 1.0095, 3.9730)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C39 #1D390C
analogous
#110C39 #280C39 #390C33
triadic
#280C39 #39280C #0C3928
tetradic
#280C39 #39110C #1D390C #0C3339
square
#280C39 #39110C #1D390C #0C3339
split-complementary
#280C39 #33390C #0C3911
monochromatic
#120519 #120519 #280C39 #4B176C #6F219E

Accessibility & contrast

On white

17.47
#280C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C39
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C39#FFFFFF#000000##FFFFFF
##280C391.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#051A38
Tritanopia (blue-blind)
#261621
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280c39;
/* rgb */ color: rgb(40, 12, 57);
/* oklch */ color: oklch(22.7% 0.085 309.8);
Tailwind
colors: {
  custom: {
    50: '#644d70',
    500: '#280c39',
    950: '#000000',
  },
}
SCSS
$custom: #280c39;
$custom-light: #644d70;
$custom-dark: #000000;
JSON
{
  "hex": "#280c39",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 277.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22659,
    "c": 0.08505,
    "h": 309.8
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#280C39
secondary
#47752C
accent
#E8407F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #280C39

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

Preview Lab → · Contrast checker → · Palette generator →

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