#280F38#280F38

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

Color values

HEX#280F38
RGBrgb(40, 15, 56)
HSLhsl(277, 58%, 14%)
HSVhsv(277, 73%, 22%)
CMYKcmyk(28.6%, 73.2%, 0%, 78%)
CIE-LABlab(9.63, 21.81, -21.49)
CIE-LCHlch(9.63, 30.62, 315.41°)
OKLaboklab(23.04% 0.0503 -0.0606)
OKLCHoklch(23.04% 0.079 309.7)
XYZxyz(1.7596, 1.0783, 3.8561)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F38 #1F380F
analogous
#140F38 #280F38 #380F34
triadic
#280F38 #38280F #0F3828
tetradic
#280F38 #38140F #1F380F #0F3438
square
#280F38 #38140F #1F380F #0F3438
split-complementary
#280F38 #34380F #0F3814
monochromatic
#110618 #110618 #280F38 #4A1C68 #6D2999

Accessibility & contrast

On white

17.28
#280F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F38
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F38#FFFFFF#000000##FFFFFF
##280F381.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A39
Deuteranopia (green-blind)
#0A1B37
Tritanopia (blue-blind)
#261721
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280f38;
/* rgb */ color: rgb(40, 15, 56);
/* oklch */ color: oklch(23.0% 0.079 309.7);
Tailwind
colors: {
  custom: {
    50: '#644f6f',
    500: '#280f38',
    950: '#000000',
  },
}
SCSS
$custom: #280f38;
$custom-light: #644f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#280f38",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 276.585,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23035,
    "c": 0.07875,
    "h": 309.7
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#280F38
secondary
#4A7230
accent
#E14783
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #280F38

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

Preview Lab → · Contrast checker → · Palette generator →

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