#280C3C#280C3C

#280C3C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.089 H 307.5°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#280C3C
RGBrgb(40, 12, 60)
HSLhsl(275, 67%, 14%)
HSVhsv(275, 80%, 24%)
CMYKcmyk(33.3%, 80%, 0%, 76.5%)
CIE-LABlab(9.32, 24.67, -24.86)
CIE-LCHlch(9.32, 35.02, 314.77°)
OKLaboklab(22.92% 0.054 -0.0705)
OKLCHoklch(22.92% 0.089 307.5)
XYZxyz(1.8220, 1.0403, 4.3789)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C3C #203C0C
analogous
#100C3C #280C3C #3C0C38
triadic
#280C3C #3C280C #0C3C28
tetradic
#280C3C #3C100C #203C0C #0C383C
square
#280C3C #3C100C #203C0C #0C383C
split-complementary
#280C3C #383C0C #0C3C10
monochromatic
#11051A #11051A #280C3C #4A166F #6C20A2

Accessibility & contrast

On white

17.38
#280C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280C3C
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C3C#FFFFFF#000000##FFFFFF
##280C3C1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#251722
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280c3c;
/* rgb */ color: rgb(40, 12, 60);
/* oklch */ color: oklch(22.9% 0.089 307.5);
Tailwind
colors: {
  custom: {
    50: '#644d72',
    500: '#280c3c',
    950: '#000000',
  },
}
SCSS
$custom: #280c3c;
$custom-light: #644d72;
$custom-dark: #000000;
JSON
{
  "hex": "#280c3c",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 275,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2292,
    "c": 0.08881,
    "h": 307.5
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#280C3C
secondary
#4C782C
accent
#EA3E86
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #280C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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