#280F34#280F34

#280F34 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.073 H 313.2°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#280F34
RGBrgb(40, 15, 52)
HSLhsl(281, 55%, 13%)
HSVhsv(281, 71%, 20%)
CMYKcmyk(23.1%, 71.2%, 0%, 79.6%)
CIE-LABlab(9.33, 20.71, -19.07)
CIE-LCHlch(9.33, 28.15, 317.35°)
OKLaboklab(22.72% 0.0503 -0.0535)
OKLCHoklch(22.72% 0.073 313.2)
XYZxyz(1.6656, 1.0407, 3.3613)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F34 #1B340F
analogous
#150F34 #280F34 #340F2D
triadic
#280F34 #34280F #0F3428
tetradic
#280F34 #34150F #1B340F #0F2D34
square
#280F34 #34150F #1B340F #0F2D34
split-complementary
#280F34 #2D340F #0F3415
monochromatic
#120718 #120718 #280F34 #4D1D63 #712A93

Accessibility & contrast

On white

17.38
#280F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F34
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F34#FFFFFF#000000##FFFFFF
##280F341.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#0D1B33
Tritanopia (blue-blind)
#27161F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280f34;
/* rgb */ color: rgb(40, 15, 52);
/* oklch */ color: oklch(22.7% 0.073 313.2);
Tailwind
colors: {
  custom: {
    50: '#634f6b',
    500: '#280f34',
    950: '#000000',
  },
}
SCSS
$custom: #280f34;
$custom-light: #634f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#280f34",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 280.541,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22719,
    "c": 0.07347,
    "h": 313.2
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#280F34
secondary
#456E31
accent
#DF497A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #280F34

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

Preview Lab → · Contrast checker → · Palette generator →

#280F34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva