#280C51#280C51

#280C51 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.115 H 295.0°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#280C51
RGBrgb(40, 12, 81)
HSLhsl(264, 74%, 18%)
HSVhsv(264, 85%, 32%)
CMYKcmyk(50.6%, 85.2%, 0%, 68.2%)
CIE-LABlab(11.33, 30.71, -36.31)
CIE-LCHlch(11.33, 47.56, 310.23°)
OKLaboklab(24.96% 0.0485 -0.1041)
OKLCHoklch(24.96% 0.115 295)
XYZxyz(2.4913, 1.3081, 7.9042)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C51 #35510C
analogous
#0C1251 #280C51 #4A0C51
triadic
#280C51 #51280C #0C5128
tetradic
#280C51 #510C12 #35510C #0C514A
square
#280C51 #510C12 #35510C #0C514A
split-complementary
#280C51 #514A0C #12510C
monochromatic
#0D041B #0E041C #280C51 #421486 #5D1CBC

Accessibility & contrast

On white

16.65
#280C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#280C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280C51
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C51#FFFFFF#000000##FFFFFF
##280C511.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001D50
Tritanopia (blue-blind)
#1C1F2E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #280c51;
/* rgb */ color: rgb(40, 12, 81);
/* oklch */ color: oklch(25.0% 0.115 295.0);
Tailwind
colors: {
  custom: {
    50: '#674f83',
    500: '#280c51',
    950: '#000000',
  },
}
SCSS
$custom: #280c51;
$custom-light: #674f83;
$custom-dark: #000000;
JSON
{
  "hex": "#280c51",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 264.348,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24959,
    "c": 0.11486,
    "h": 295
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#280C51
secondary
#658C2C
accent
#F137A5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280C51

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

Preview Lab → · Contrast checker → · Palette generator →

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