#280948#280948

#280948 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.107 H 300.4°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#280948
RGBrgb(40, 9, 72)
HSLhsl(270, 78%, 16%)
HSVhsv(270, 88%, 28%)
CMYKcmyk(44.4%, 87.5%, 0%, 71.8%)
CIE-LABlab(9.91, 29.56, -32.40)
CIE-LCHlch(9.91, 43.86, 312.37°)
OKLaboklab(23.68% 0.0543 -0.0926)
OKLCHoklch(23.68% 0.107 300.4)
XYZxyz(2.1422, 1.1143, 6.2319)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280948 #294809
analogous
#090948 #280948 #470948
triadic
#280948 #482809 #094828
tetradic
#280948 #480909 #294809 #094847
square
#280948 #480909 #294809 #094847
split-complementary
#280948 #484709 #094809
monochromatic
#0F031B #0F031B #280948 #46107E #6417B5

Accessibility & contrast

On white

17.17
#280948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#280948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280948
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280948#FFFFFF#000000##FFFFFF
##2809481.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#211A28
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280948;
/* rgb */ color: rgb(40, 9, 72);
/* oklch */ color: oklch(23.7% 0.107 300.4);
Tailwind
colors: {
  custom: {
    50: '#664c7c',
    500: '#280948',
    950: '#000000',
  },
}
SCSS
$custom: #280948;
$custom-light: #664c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#280948",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 269.524,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23684,
    "c": 0.10738,
    "h": 300.4
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#280948
secondary
#578527
accent
#F43495
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #280948

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

Preview Lab → · Contrast checker → · Palette generator →

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