#280A3F#280A3F

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

Color values

HEX#280A3F
RGBrgb(40, 10, 63)
HSLhsl(274, 73%, 14%)
HSVhsv(274, 84%, 25%)
CMYKcmyk(36.5%, 84.1%, 0%, 75.3%)
CIE-LABlab(9.22, 26.55, -27.18)
CIE-LCHlch(9.22, 38.00, 314.33°)
OKLaboklab(22.93% 0.0559 -0.0773)
OKLCHoklch(22.93% 0.095 305.9)
XYZxyz(1.8806, 1.0271, 4.8008)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A3F #213F0A
analogous
#0D0A3F #280A3F #3F0A3C
triadic
#280A3F #3F280A #0A3F28
tetradic
#280A3F #3F0D0A #213F0A #0A3C3F
square
#280A3F #3F0D0A #213F0A #0A3C3F
split-complementary
#280A3F #3C3F0A #0A3F0D
monochromatic
#11041A #11041A #280A3F #4A1274 #6B1BA9

Accessibility & contrast

On white

17.42
#280A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280A3F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A3F#FFFFFF#000000##FFFFFF
##280A3F1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#241724
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280a3f;
/* rgb */ color: rgb(40, 10, 63);
/* oklch */ color: oklch(22.9% 0.095 305.9);
Tailwind
colors: {
  custom: {
    50: '#654c74',
    500: '#280a3f',
    950: '#000000',
  },
}
SCSS
$custom: #280a3f;
$custom-light: #654c74;
$custom-dark: #000000;
JSON
{
  "hex": "#280a3f",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 273.962,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22927,
    "c": 0.09536,
    "h": 305.9
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#280A3F
secondary
#4D7C29
accent
#EF3888
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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