#280C3D#280C3D

#280C3D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.090 H 306.7°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#280C3D
RGBrgb(40, 12, 61)
HSLhsl(274, 67%, 14%)
HSVhsv(274, 80%, 24%)
CMYKcmyk(34.4%, 80.3%, 0%, 76.1%)
CIE-LABlab(9.41, 24.94, -25.44)
CIE-LCHlch(9.41, 35.63, 314.44°)
OKLaboklab(23.01% 0.0539 -0.0722)
OKLCHoklch(23.01% 0.09 306.7)
XYZxyz(1.8487, 1.0510, 4.5194)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C3D #213D0C
analogous
#100C3D #280C3D #3D0C3A
triadic
#280C3D #3D280C #0C3D28
tetradic
#280C3D #3D100C #213D0C #0C3A3D
square
#280C3D #3D100C #213D0C #0C3A3D
split-complementary
#280C3D #3A3D0C #0C3D10
monochromatic
#11051A #11051A #280C3D #4A1670 #6B20A3

Accessibility & contrast

On white

17.35
#280C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C3D
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C3D#FFFFFF#000000##FFFFFF
##280C3D1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#011A3C
Tritanopia (blue-blind)
#241723
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280c3d;
/* rgb */ color: rgb(40, 12, 61);
/* oklch */ color: oklch(23.0% 0.090 306.7);
Tailwind
colors: {
  custom: {
    50: '#644d73',
    500: '#280c3d',
    950: '#000000',
  },
}
SCSS
$custom: #280c3d;
$custom-light: #644d73;
$custom-dark: #000000;
JSON
{
  "hex": "#280c3d",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 274.286,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23009,
    "c": 0.09006,
    "h": 306.7
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#280C3D
secondary
#4D792C
accent
#EA3E88
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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