#280749#280749

#280749 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.111 H 300.3°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#280749
RGBrgb(40, 7, 73)
HSLhsl(270, 83%, 16%)
HSVhsv(270, 90%, 29%)
CMYKcmyk(45.2%, 90.4%, 0%, 71.4%)
CIE-LABlab(9.67, 30.82, -33.49)
CIE-LCHlch(9.67, 45.51, 312.62°)
OKLaboklab(23.55% 0.0559 -0.0958)
OKLCHoklch(23.55% 0.111 300.3)
XYZxyz(2.1533, 1.0841, 6.3978)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280749 #284907
analogous
#070749 #280749 #490749
triadic
#280749 #492807 #074928
tetradic
#280749 #490707 #284907 #074949
square
#280749 #490707 #284907 #074949
split-complementary
#280749 #494907 #074907
monochromatic
#0F031C #0F031C #280749 #470C81 #6512B9

Accessibility & contrast

On white

17.26
#280749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280749
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280749#FFFFFF#000000##FFFFFF
##2807491.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#201A29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280749;
/* rgb */ color: rgb(40, 7, 73);
/* oklch */ color: oklch(23.6% 0.111 300.3);
Tailwind
colors: {
  custom: {
    50: '#664b7c',
    500: '#280749',
    950: '#000000',
  },
}
SCSS
$custom: #280749;
$custom-light: #664b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#280749",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 73
  },
  "hsl": {
    "h": 270,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23551,
    "c": 0.11093,
    "h": 300.3
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#280749
secondary
#568824
accent
#F92F94
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #280749

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

Preview Lab → · Contrast checker → · Palette generator →

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