#280C3E#280C3E

#280C3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.091 H 306.0°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#280C3E
RGBrgb(40, 12, 62)
HSLhsl(274, 68%, 15%)
HSVhsv(274, 81%, 24%)
CMYKcmyk(35.5%, 80.6%, 0%, 75.7%)
CIE-LABlab(9.50, 25.22, -26.01)
CIE-LCHlch(9.50, 36.23, 314.12°)
OKLaboklab(23.1% 0.0537 -0.0739)
OKLCHoklch(23.1% 0.091 306)
XYZxyz(1.8759, 1.0619, 4.6626)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C3E #223E0C
analogous
#0F0C3E #280C3E #3E0C3B
triadic
#280C3E #3E280C #0C3E28
tetradic
#280C3E #3E0F0C #223E0C #0C3B3E
square
#280C3E #3E0F0C #223E0C #0C3B3E
split-complementary
#280C3E #3B3E0C #0C3E0F
monochromatic
#11051A #11051A #280C3E #491671 #6A20A5

Accessibility & contrast

On white

17.32
#280C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C3E
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C3E#FFFFFF#000000##FFFFFF
##280C3E1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#001B3D
Tritanopia (blue-blind)
#241824
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280c3e;
/* rgb */ color: rgb(40, 12, 62);
/* oklch */ color: oklch(23.1% 0.091 306.0);
Tailwind
colors: {
  custom: {
    50: '#654d74',
    500: '#280c3e',
    950: '#000000',
  },
}
SCSS
$custom: #280c3e;
$custom-light: #654d74;
$custom-dark: #000000;
JSON
{
  "hex": "#280c3e",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 273.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23098,
    "c": 0.09131,
    "h": 306
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#280C3E
secondary
#4E7A2C
accent
#EA3D8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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