#280D45#280D45

#280D45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.099 H 301.1°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#280D45
RGBrgb(40, 13, 69)
HSLhsl(269, 68%, 16%)
HSVhsv(269, 81%, 27%)
CMYKcmyk(42%, 81.2%, 0%, 72.9%)
CIE-LABlab(10.32, 26.68, -29.63)
CIE-LCHlch(10.32, 39.87, 312.01°)
OKLaboklab(23.89% 0.051 -0.0845)
OKLCHoklch(23.89% 0.099 301.1)
XYZxyz(2.0929, 1.1686, 5.7444)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D45 #2A450D
analogous
#0D0E45 #280D45 #440D45
triadic
#280D45 #45280D #0D4528
tetradic
#280D45 #450D0E #2A450D #0D4544
square
#280D45 #450D0E #2A450D #0D4544
split-complementary
#280D45 #45440D #0E450D
monochromatic
#0F051A #0F051A #280D45 #461778 #6420AC

Accessibility & contrast

On white

17.02
#280D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#280D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D45
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D45#FFFFFF#000000##FFFFFF
##280D451.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#221B28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280d45;
/* rgb */ color: rgb(40, 13, 69);
/* oklch */ color: oklch(23.9% 0.099 301.1);
Tailwind
colors: {
  custom: {
    50: '#654e79',
    500: '#280d45',
    950: '#000000',
  },
}
SCSS
$custom: #280d45;
$custom-light: #654e79;
$custom-dark: #000000;
JSON
{
  "hex": "#280d45",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 268.929,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23885,
    "c": 0.0987,
    "h": 301.1
  },
  "luminance": 0.01169
}

Semantic roles & 50–950 ramp

primary
#280D45
secondary
#58802D
accent
#EB3D97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #280D45

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

Preview Lab → · Contrast checker → · Palette generator →

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