#280727#280727

#280727 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.073 H 329.1°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#280727
RGBrgb(40, 7, 39)
HSLhsl(302, 70%, 9%)
HSVhsv(302, 83%, 16%)
CMYKcmyk(0%, 82.5%, 2.5%, 84.3%)
CIE-LABlab(6.77, 21.94, -13.46)
CIE-LCHlch(6.77, 25.74, 328.48°)
OKLaboklab(20.52% 0.0626 -0.0375)
OKLCHoklch(20.52% 0.073 329.1)
XYZxyz(1.3172, 0.7497, 1.9944)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280727 #072808
analogous
#190728 #280727 #280717
triadic
#280727 #272807 #072728
tetradic
#280727 #281907 #072808 #071728
square
#280727 #281907 #072808 #071728
split-complementary
#280727 #172807 #072819
monochromatic
#1A0519 #1A0519 #280727 #5C105A #90198D

Accessibility & contrast

On white

18.26
#280727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#280727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280727
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280727#FFFFFF#000000##FFFFFF
##2807271.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#101726
Tritanopia (blue-blind)
#2A0B15
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280727;
/* rgb */ color: rgb(40, 7, 39);
/* oklch */ color: oklch(20.5% 0.073 329.1);
Tailwind
colors: {
  custom: {
    50: '#634a61',
    500: '#280727',
    950: '#000000',
  },
}
SCSS
$custom: #280727;
$custom-light: #634a61;
$custom-dark: #000000;
JSON
{
  "hex": "#280727",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 301.818,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20522,
    "c": 0.07291,
    "h": 329.1
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#280727
secondary
#236825
accent
#ED403B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050105
muted
#7A7779

Preview Lab

Preview with #280727

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

Preview Lab → · Contrast checker → · Palette generator →

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