#280F37#280F37

#280F37 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.077 H 310.5°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#280F37
RGBrgb(40, 15, 55)
HSLhsl(278, 57%, 14%)
HSVhsv(278, 73%, 22%)
CMYKcmyk(27.3%, 72.7%, 0%, 78.4%)
CIE-LABlab(9.55, 21.53, -20.89)
CIE-LCHlch(9.55, 30.00, 315.86°)
OKLaboklab(22.95% 0.0503 -0.0589)
OKLCHoklch(22.95% 0.077 310.5)
XYZxyz(1.7354, 1.0686, 3.7285)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F37 #1E370F
analogous
#140F37 #280F37 #370F32
triadic
#280F37 #37280F #0F3728
tetradic
#280F37 #37140F #1E370F #0F3237
square
#280F37 #37140F #1E370F #0F3237
split-complementary
#280F37 #32370F #0F3714
monochromatic
#110718 #110718 #280F37 #4B1C67 #6E2997

Accessibility & contrast

On white

17.30
#280F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F37
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F37#FFFFFF#000000##FFFFFF
##280F371.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011938
Deuteranopia (green-blind)
#0B1B36
Tritanopia (blue-blind)
#261721
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280f37;
/* rgb */ color: rgb(40, 15, 55);
/* oklch */ color: oklch(23.0% 0.077 310.5);
Tailwind
colors: {
  custom: {
    50: '#644f6e',
    500: '#280f37',
    950: '#000000',
  },
}
SCSS
$custom: #280f37;
$custom-light: #644f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#280f37",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 277.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22954,
    "c": 0.07742,
    "h": 310.5
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#280F37
secondary
#497131
accent
#E04781
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #280F37

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

Preview Lab → · Contrast checker → · Palette generator →

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