#280F36#280F36

#280F36 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.076 H 311.4°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#280F36
RGBrgb(40, 15, 54)
HSLhsl(278, 57%, 14%)
HSVhsv(278, 72%, 21%)
CMYKcmyk(25.9%, 72.2%, 0%, 78.8%)
CIE-LABlab(9.47, 21.25, -20.29)
CIE-LCHlch(9.47, 29.38, 316.33°)
OKLaboklab(22.88% 0.0503 -0.0571)
OKLCHoklch(22.88% 0.076 311.4)
XYZxyz(1.7116, 1.0591, 3.6036)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F36 #1D360F
analogous
#140F36 #280F36 #360F30
triadic
#280F36 #36280F #0F3628
tetradic
#280F36 #36140F #1D360F #0F3036
square
#280F36 #36140F #1D360F #0F3036
split-complementary
#280F36 #30360F #0F3614
monochromatic
#120718 #120718 #280F36 #4B1C66 #6F2A96

Accessibility & contrast

On white

17.33
#280F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F36
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F36#FFFFFF#000000##FFFFFF
##280F361.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#0B1B35
Tritanopia (blue-blind)
#261620
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280f36;
/* rgb */ color: rgb(40, 15, 54);
/* oklch */ color: oklch(22.9% 0.076 311.4);
Tailwind
colors: {
  custom: {
    50: '#634f6d',
    500: '#280f36',
    950: '#000000',
  },
}
SCSS
$custom: #280f36;
$custom-light: #634f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#280f36",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 278.462,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22875,
    "c": 0.0761,
    "h": 311.4
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#280F36
secondary
#477031
accent
#E0487E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #280F36

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

Preview Lab → · Contrast checker → · Palette generator →

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