#280843#280843

#280843 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.103 H 303.7°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#280843
RGBrgb(40, 8, 67)
HSLhsl(273, 79%, 15%)
HSVhsv(273, 88%, 26%)
CMYKcmyk(40.3%, 88.1%, 0%, 73.7%)
CIE-LABlab(9.24, 28.67, -29.98)
CIE-LCHlch(9.24, 41.48, 313.72°)
OKLaboklab(23.06% 0.057 -0.0855)
OKLCHoklch(23.06% 0.103 303.7)
XYZxyz(1.9748, 1.0300, 5.4039)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280843 #234308
analogous
#0A0843 #280843 #430841
triadic
#280843 #432808 #084328
tetradic
#280843 #430A08 #234308 #084143
square
#280843 #430A08 #234308 #084143
split-complementary
#280843 #414308 #08430A
monochromatic
#10031B #10031B #280843 #490F7A #6915B0

Accessibility & contrast

On white

17.41
#280843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280843
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280843#FFFFFF#000000##FFFFFF
##2808431.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001A42
Tritanopia (blue-blind)
#231825
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280843;
/* rgb */ color: rgb(40, 8, 67);
/* oklch */ color: oklch(23.1% 0.103 303.7);
Tailwind
colors: {
  custom: {
    50: '#664c78',
    500: '#280843',
    950: '#000000',
  },
}
SCSS
$custom: #280843;
$custom-light: #664c78;
$custom-dark: #000000;
JSON
{
  "hex": "#280843",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 272.542,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23062,
    "c": 0.10276,
    "h": 303.7
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#280843
secondary
#508125
accent
#F5338C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280843

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

Preview Lab → · Contrast checker → · Palette generator →

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