#280744#280744

#280744 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.105 H 303.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#280744
RGBrgb(40, 7, 68)
HSLhsl(272, 81%, 15%)
HSVhsv(272, 90%, 27%)
CMYKcmyk(41.2%, 89.7%, 0%, 73.3%)
CIE-LABlab(9.16, 29.46, -30.82)
CIE-LCHlch(9.16, 42.63, 313.71°)
OKLaboklab(23.04% 0.0578 -0.0879)
OKLCHoklch(23.04% 0.105 303.3)
XYZxyz(1.9942, 1.0204, 5.5596)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280744 #234407
analogous
#0A0744 #280744 #440742
triadic
#280744 #442807 #074428
tetradic
#280744 #440A07 #234407 #074244
square
#280744 #440A07 #234407 #074244
split-complementary
#280744 #424407 #07440A
monochromatic
#10031C #10031C #280744 #490D7B #6912B3

Accessibility & contrast

On white

17.44
#280744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280744
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280744#FFFFFF#000000##FFFFFF
##2807441.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001A43
Tritanopia (blue-blind)
#221726
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280744;
/* rgb */ color: rgb(40, 7, 68);
/* oklch */ color: oklch(23.0% 0.105 303.3);
Tailwind
colors: {
  custom: {
    50: '#664b78',
    500: '#280744',
    950: '#000000',
  },
}
SCSS
$custom: #280744;
$custom-light: #664b78;
$custom-dark: #000000;
JSON
{
  "hex": "#280744",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 272.459,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23038,
    "c": 0.10522,
    "h": 303.3
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#280744
secondary
#508324
accent
#F8308C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280744

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

Preview Lab → · Contrast checker → · Palette generator →

#280744 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva