#280C44#280C44

#280C44 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.099 H 302.0°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#280C44
RGBrgb(40, 12, 68)
HSLhsl(270, 70%, 16%)
HSVhsv(270, 82%, 27%)
CMYKcmyk(41.2%, 82.4%, 0%, 73.3%)
CIE-LABlab(10.04, 26.93, -29.38)
CIE-LCHlch(10.04, 39.85, 312.50°)
OKLaboklab(23.66% 0.0524 -0.0838)
OKLCHoklch(23.66% 0.099 302)
XYZxyz(2.0497, 1.1314, 5.5781)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C44 #28440C
analogous
#0C0C44 #280C44 #440C44
triadic
#280C44 #44280C #0C4428
tetradic
#280C44 #440C0C #28440C #0C4444
square
#280C44 #440C0C #28440C #0C4444
split-complementary
#280C44 #44440C #0C440C
monochromatic
#0F051A #0F051A #280C44 #471578 #651EAC

Accessibility & contrast

On white

17.13
#280C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C44
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C44#FFFFFF#000000##FFFFFF
##280C441.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#221A27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280c44;
/* rgb */ color: rgb(40, 12, 68);
/* oklch */ color: oklch(23.7% 0.099 302.0);
Tailwind
colors: {
  custom: {
    50: '#654e78',
    500: '#280c44',
    950: '#000000',
  },
}
SCSS
$custom: #280c44;
$custom-light: #654e78;
$custom-dark: #000000;
JSON
{
  "hex": "#280c44",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 270,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23656,
    "c": 0.0988,
    "h": 302
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#280C44
secondary
#56802C
accent
#ED3B94
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280C44

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

Preview Lab → · Contrast checker → · Palette generator →

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