#280634#280634

#280634 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.089 H 315.6°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#280634
RGBrgb(40, 6, 52)
HSLhsl(284, 79%, 11%)
HSVhsv(284, 88%, 20%)
CMYKcmyk(23.1%, 88.5%, 0%, 79.6%)
CIE-LABlab(7.49, 25.81, -22.02)
CIE-LCHlch(7.49, 33.92, 319.53°)
OKLaboklab(21.4% 0.0634 -0.0621)
OKLCHoklch(21.4% 0.089 315.6)
XYZxyz(1.5599, 0.8294, 3.3261)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280634 #123406
analogous
#110634 #280634 #340629
triadic
#280634 #342806 #063428
tetradic
#280634 #341106 #123406 #062934
square
#280634 #341106 #123406 #062934
split-complementary
#280634 #293406 #063411
monochromatic
#15031B #15031B #280634 #520C6B #7C13A2

Accessibility & contrast

On white

18.01
#280634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#280634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280634
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280634#FFFFFF#000000##FFFFFF
##2806341.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#051733
Tritanopia (blue-blind)
#27101C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280634;
/* rgb */ color: rgb(40, 6, 52);
/* oklch */ color: oklch(21.4% 0.089 315.6);
Tailwind
colors: {
  custom: {
    50: '#64496c',
    500: '#280634',
    950: '#000000',
  },
}
SCSS
$custom: #280634;
$custom-light: #64496c;
$custom-dark: #000000;
JSON
{
  "hex": "#280634",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 284.348,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21395,
    "c": 0.08875,
    "h": 315.6
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#280634
secondary
#377421
accent
#F63265
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280634

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

Preview Lab → · Contrast checker → · Palette generator →

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