#280C46#280C46

#280C46 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.101 H 300.8°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#280C46
RGBrgb(40, 12, 70)
HSLhsl(269, 71%, 16%)
HSVhsv(269, 83%, 27%)
CMYKcmyk(42.9%, 82.9%, 0%, 72.5%)
CIE-LABlab(10.23, 27.50, -30.48)
CIE-LCHlch(10.23, 41.05, 312.06°)
OKLaboklab(23.85% 0.0519 -0.087)
OKLCHoklch(23.85% 0.101 300.8)
XYZxyz(2.1118, 1.1562, 5.9051)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C46 #2A460C
analogous
#0C0D46 #280C46 #450C46
triadic
#280C46 #46280C #0C4628
tetradic
#280C46 #460C0D #2A460C #0C4645
square
#280C46 #460C0D #2A460C #0C4645
split-complementary
#280C46 #46450C #0D460C
monochromatic
#0F041A #0F041A #280C46 #46157A #641EAE

Accessibility & contrast

On white

17.06
#280C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C46
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C46#FFFFFF#000000##FFFFFF
##280C461.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#211B28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280c46;
/* rgb */ color: rgb(40, 12, 70);
/* oklch */ color: oklch(23.8% 0.101 300.8);
Tailwind
colors: {
  custom: {
    50: '#664e7a',
    500: '#280c46',
    950: '#000000',
  },
}
SCSS
$custom: #280c46;
$custom-light: #664e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#280c46",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 268.966,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23848,
    "c": 0.10129,
    "h": 300.8
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#280C46
secondary
#58822C
accent
#ED3A97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #280C46

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

Preview Lab → · Contrast checker → · Palette generator →

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