#280C3A#280C3A

#280C3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.086 H 309.0°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#280C3A
RGBrgb(40, 12, 58)
HSLhsl(277, 66%, 14%)
HSVhsv(277, 79%, 23%)
CMYKcmyk(31%, 79.3%, 0%, 77.3%)
CIE-LABlab(9.15, 24.11, -23.70)
CIE-LCHlch(9.15, 33.81, 315.50°)
OKLaboklab(22.75% 0.0543 -0.0671)
OKLCHoklch(22.75% 0.086 309)
XYZxyz(1.7701, 1.0196, 4.1057)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C3A #1E3A0C
analogous
#110C3A #280C3A #3A0C35
triadic
#280C3A #3A280C #0C3A28
tetradic
#280C3A #3A110C #1E3A0C #0C353A
square
#280C3A #3A110C #1E3A0C #0C353A
split-complementary
#280C3A #353A0C #0C3A11
monochromatic
#110519 #110519 #280C3A #4B166D #6E219F

Accessibility & contrast

On white

17.44
#280C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280C3A
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C3A#FFFFFF#000000##FFFFFF
##280C3A1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#251621
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280c3a;
/* rgb */ color: rgb(40, 12, 58);
/* oklch */ color: oklch(22.7% 0.086 309.0);
Tailwind
colors: {
  custom: {
    50: '#644d70',
    500: '#280c3a',
    950: '#000000',
  },
}
SCSS
$custom: #280c3a;
$custom-light: #644d70;
$custom-dark: #000000;
JSON
{
  "hex": "#280c3a",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 276.522,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22745,
    "c": 0.0863,
    "h": 309
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#280C3A
secondary
#49762C
accent
#E93F81
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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