#280643#280643

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

Color values

HEX#280643
RGBrgb(40, 6, 67)
HSLhsl(273, 84%, 14%)
HSVhsv(273, 91%, 26%)
CMYKcmyk(40.3%, 91%, 0%, 73.7%)
CIE-LABlab(8.88, 29.71, -30.57)
CIE-LCHlch(8.88, 42.63, 314.19°)
OKLaboklab(22.81% 0.0592 -0.0872)
OKLCHoklch(22.81% 0.105 304.2)
XYZxyz(1.9531, 0.9866, 5.3966)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280643 #214306
analogous
#0A0643 #280643 #430640
triadic
#280643 #432806 #064328
tetradic
#280643 #430A06 #214306 #064043
square
#280643 #430A06 #214306 #064043
split-complementary
#280643 #404306 #06430A
monochromatic
#11031C #11031C #280643 #4A0B7B #6B10B3

Accessibility & contrast

On white

17.54
#280643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280643
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280643#FFFFFF#000000##FFFFFF
##2806431.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001942
Tritanopia (blue-blind)
#231725
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280643;
/* rgb */ color: rgb(40, 6, 67);
/* oklch */ color: oklch(22.8% 0.105 304.2);
Tailwind
colors: {
  custom: {
    50: '#664a78',
    500: '#280643',
    950: '#000000',
  },
}
SCSS
$custom: #280643;
$custom-light: #664a78;
$custom-dark: #000000;
JSON
{
  "hex": "#280643",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 67
  },
  "hsl": {
    "h": 273.443,
    "s": 83.562,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22812,
    "c": 0.10542,
    "h": 304.2
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#280643
secondary
#4D8322
accent
#FA2E88
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280643

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

Preview Lab → · Contrast checker → · Palette generator →

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