#280523#280523

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

Color values

HEX#280523
RGBrgb(40, 5, 35)
HSLhsl(309, 78%, 9%)
HSVhsv(309, 88%, 16%)
CMYKcmyk(0%, 87.5%, 12.5%, 84.3%)
CIE-LABlab(6.15, 21.99, -11.36)
CIE-LCHlch(6.15, 24.75, 332.68°)
OKLaboklab(19.92% 0.0659 -0.0319)
OKLCHoklch(19.92% 0.073 334.2)
XYZxyz(1.2327, 0.6811, 1.6563)
Luminance0.0068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280523 #05280A
analogous
#1C0528 #280523 #280512
triadic
#280523 #232805 #052328
tetradic
#280523 #281C05 #05280A #051228
square
#280523 #281C05 #05280A #051228
split-complementary
#280523 #122805 #05281C
monochromatic
#1B0318 #1B0318 #280523 #5E0C53 #951382

Accessibility & contrast

On white

18.48
#280523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#280523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280523
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280523#FFFFFF#000000##FFFFFF
##2805231.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051024
Deuteranopia (green-blind)
#101622
Tritanopia (blue-blind)
#2A0712
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280523;
/* rgb */ color: rgb(40, 5, 35);
/* oklch */ color: oklch(19.9% 0.073 334.2);
Tailwind
colors: {
  custom: {
    50: '#63485e',
    500: '#280523',
    950: '#000000',
  },
}
SCSS
$custom: #280523;
$custom-light: #63485e;
$custom-dark: #000000;
JSON
{
  "hex": "#280523",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 35
  },
  "hsl": {
    "h": 308.571,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19921,
    "c": 0.0732,
    "h": 334.2
  },
  "luminance": 0.00681
}

Semantic roles & 50–950 ramp

primary
#280523
secondary
#1F6A2A
accent
#F44F34
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050104
muted
#7A7779

Preview Lab

Preview with #280523

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

Preview Lab → · Contrast checker → · Palette generator →

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