#280C43#280C43

#280C43 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.098 H 302.6°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#280C43
RGBrgb(40, 12, 67)
HSLhsl(271, 70%, 15%)
HSVhsv(271, 82%, 26%)
CMYKcmyk(40.3%, 82.1%, 0%, 73.7%)
CIE-LABlab(9.95, 26.64, -28.83)
CIE-LCHlch(9.95, 39.25, 312.74°)
OKLaboklab(23.56% 0.0526 -0.0821)
OKLCHoklch(23.56% 0.098 302.6)
XYZxyz(2.0194, 1.1193, 5.4188)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C43 #27430C
analogous
#0C0C43 #280C43 #430C42
triadic
#280C43 #43280C #0C4328
tetradic
#280C43 #430C0C #27430C #0C4243
square
#280C43 #430C0C #27430C #0C4243
split-complementary
#280C43 #42430C #0C430C
monochromatic
#0F051A #0F051A #280C43 #471577 #661FAB

Accessibility & contrast

On white

17.16
#280C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#280C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280C43
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C43#FFFFFF#000000##FFFFFF
##280C431.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#221A26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280c43;
/* rgb */ color: rgb(40, 12, 67);
/* oklch */ color: oklch(23.6% 0.098 302.6);
Tailwind
colors: {
  custom: {
    50: '#654e78',
    500: '#280c43',
    950: '#000000',
  },
}
SCSS
$custom: #280c43;
$custom-light: #654e78;
$custom-dark: #000000;
JSON
{
  "hex": "#280c43",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 270.545,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23561,
    "c": 0.09756,
    "h": 302.6
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#280C43
secondary
#557F2C
accent
#EC3B92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280C43

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

Preview Lab → · Contrast checker → · Palette generator →

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