#280F3A#280F3A

#280F3A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.081 H 308.0°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#280F3A
RGBrgb(40, 15, 58)
HSLhsl(275, 59%, 14%)
HSVhsv(275, 74%, 23%)
CMYKcmyk(31%, 74.1%, 0%, 77.3%)
CIE-LABlab(9.78, 22.37, -22.68)
CIE-LCHlch(9.78, 31.85, 314.60°)
OKLaboklab(23.2% 0.0502 -0.0641)
OKLCHoklch(23.2% 0.081 308)
XYZxyz(1.8095, 1.0983, 4.1188)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F3A #213A0F
analogous
#130F3A #280F3A #3A0F37
triadic
#280F3A #3A280F #0F3A28
tetradic
#280F3A #3A130F #213A0F #0F373A
square
#280F3A #3A130F #213A0F #0F373A
split-complementary
#280F3A #373A0F #0F3A13
monochromatic
#110618 #110618 #280F3A #4A1C6B #6B289B

Accessibility & contrast

On white

17.22
#280F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#280F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F3A
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F3A#FFFFFF#000000##FFFFFF
##280F3A1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#071B39
Tritanopia (blue-blind)
#251822
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280f3a;
/* rgb */ color: rgb(40, 15, 58);
/* oklch */ color: oklch(23.2% 0.081 308.0);
Tailwind
colors: {
  custom: {
    50: '#644f70',
    500: '#280f3a',
    950: '#000000',
  },
}
SCSS
$custom: #280f3a;
$custom-light: #644f70;
$custom-dark: #000000;
JSON
{
  "hex": "#280f3a",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 274.884,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23199,
    "c": 0.08139,
    "h": 308
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#280F3A
secondary
#4D7430
accent
#E24687
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #280F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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