#280C47#280C47

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

Color values

HEX#280C47
RGBrgb(40, 12, 71)
HSLhsl(268, 71%, 16%)
HSVhsv(268, 83%, 28%)
CMYKcmyk(43.7%, 83.1%, 0%, 72.2%)
CIE-LABlab(10.33, 27.79, -31.02)
CIE-LCHlch(10.33, 41.65, 311.85°)
OKLaboklab(23.95% 0.0516 -0.0886)
OKLCHoklch(23.95% 0.103 300.2)
XYZxyz(2.1436, 1.1690, 6.0727)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C47 #2B470C
analogous
#0C0E47 #280C47 #460C47
triadic
#280C47 #47280C #0C4728
tetradic
#280C47 #470C0E #2B470C #0C4746
square
#280C47 #470C0E #2B470C #0C4746
split-complementary
#280C47 #47460C #0E470C
monochromatic
#0F041A #0F041A #280C47 #45157B #631EB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##280C47#FFFFFF#000000##FFFFFF
##280C471.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)
#001C49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#211B29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280c47;
/* rgb */ color: rgb(40, 12, 71);
/* oklch */ color: oklch(23.9% 0.103 300.2);
Tailwind
colors: {
  custom: {
    50: '#664e7b',
    500: '#280c47',
    950: '#000000',
  },
}
SCSS
$custom: #280c47;
$custom-light: #664e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#280c47",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 268.475,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23945,
    "c": 0.10253,
    "h": 300.2
  },
  "luminance": 0.01169
}

Semantic roles & 50–950 ramp

primary
#280C47
secondary
#5A832C
accent
#EE3A98
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #280C47

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

Preview Lab → · Contrast checker → · Palette generator →

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