#280A4C#280A4C

#280A4C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.111 H 297.9°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#280A4C
RGBrgb(40, 10, 76)
HSLhsl(267, 77%, 17%)
HSVhsv(267, 87%, 30%)
CMYKcmyk(47.4%, 86.8%, 0%, 70.2%)
CIE-LABlab(10.48, 30.21, -34.25)
CIE-LCHlch(10.48, 45.67, 311.42°)
OKLaboklab(24.21% 0.052 -0.0981)
OKLCHoklch(24.21% 0.111 297.9)
XYZxyz(2.2878, 1.1900, 6.9452)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A4C #2E4C0A
analogous
#0A0D4C #280A4C #490A4C
triadic
#280A4C #4C280A #0A4C28
tetradic
#280A4C #4C0A0D #2E4C0A #0A4C49
square
#280A4C #4C0A0D #2E4C0A #0A4C49
split-complementary
#280A4C #4C490A #0D4C0A
monochromatic
#0E041B #0E041B #280A4C #441182 #6118B8

Accessibility & contrast

On white

16.96
#280A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#280A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280A4C
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A4C#FFFFFF#000000##FFFFFF
##280A4C1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#1F1C2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280a4c;
/* rgb */ color: rgb(40, 10, 76);
/* oklch */ color: oklch(24.2% 0.111 297.9);
Tailwind
colors: {
  custom: {
    50: '#674d7f',
    500: '#280a4c',
    950: '#000000',
  },
}
SCSS
$custom: #280a4c;
$custom-light: #674d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#280a4c",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 76
  },
  "hsl": {
    "h": 267.273,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24209,
    "c": 0.111,
    "h": 297.9
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#280A4C
secondary
#5D8929
accent
#F3359D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #280A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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