#280F39#280F39

#280F39 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.080 H 308.8°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#280F39
RGBrgb(40, 15, 57)
HSLhsl(276, 58%, 14%)
HSVhsv(276, 74%, 22%)
CMYKcmyk(29.8%, 73.7%, 0%, 77.6%)
CIE-LABlab(9.71, 22.09, -22.09)
CIE-LCHlch(9.71, 31.24, 315.00°)
OKLaboklab(23.12% 0.0502 -0.0624)
OKLCHoklch(23.12% 0.08 308.8)
XYZxyz(1.7843, 1.0882, 3.9862)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F39 #20390F
analogous
#130F39 #280F39 #390F35
triadic
#280F39 #39280F #0F3928
tetradic
#280F39 #39130F #20390F #0F3539
square
#280F39 #39130F #20390F #0F3539
split-complementary
#280F39 #35390F #0F3913
monochromatic
#110618 #110618 #280F39 #4A1C69 #6C299A

Accessibility & contrast

On white

17.25
#280F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F39
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F39#FFFFFF#000000##FFFFFF
##280F391.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3A
Deuteranopia (green-blind)
#081B38
Tritanopia (blue-blind)
#261722
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280f39;
/* rgb */ color: rgb(40, 15, 57);
/* oklch */ color: oklch(23.1% 0.080 308.8);
Tailwind
colors: {
  custom: {
    50: '#644f70',
    500: '#280f39',
    950: '#000000',
  },
}
SCSS
$custom: #280f39;
$custom-light: #644f70;
$custom-dark: #000000;
JSON
{
  "hex": "#280f39",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 275.714,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23116,
    "c": 0.08007,
    "h": 308.8
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#280F39
secondary
#4C7330
accent
#E24685
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #280F39

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

Preview Lab → · Contrast checker → · Palette generator →

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