#280C3B#280C3B

#280C3B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.088 H 308.2°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#280C3B
RGBrgb(40, 12, 59)
HSLhsl(276, 66%, 14%)
HSVhsv(276, 80%, 23%)
CMYKcmyk(32.2%, 79.7%, 0%, 76.9%)
CIE-LABlab(9.24, 24.39, -24.28)
CIE-LCHlch(9.24, 34.41, 315.12°)
OKLaboklab(22.83% 0.0542 -0.0688)
OKLCHoklch(22.83% 0.088 308.2)
XYZxyz(1.7958, 1.0299, 4.2410)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C3B #1F3B0C
analogous
#110C3B #280C3B #3B0C37
triadic
#280C3B #3B280C #0C3B28
tetradic
#280C3B #3B110C #1F3B0C #0C373B
square
#280C3B #3B110C #1F3B0C #0C373B
split-complementary
#280C3B #373B0C #0C3B11
monochromatic
#110519 #110519 #280C3B #4A166E #6D21A1

Accessibility & contrast

On white

17.41
#280C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C3B
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C3B#FFFFFF#000000##FFFFFF
##280C3B1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#251622
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280c3b;
/* rgb */ color: rgb(40, 12, 59);
/* oklch */ color: oklch(22.8% 0.088 308.2);
Tailwind
colors: {
  custom: {
    50: '#644d71',
    500: '#280c3b',
    950: '#000000',
  },
}
SCSS
$custom: #280c3b;
$custom-light: #644d71;
$custom-dark: #000000;
JSON
{
  "hex": "#280c3b",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 275.745,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22832,
    "c": 0.08756,
    "h": 308.2
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#280C3B
secondary
#4A772C
accent
#E93F84
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #280C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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