#280F35#280F35

#280F35 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.8% C 0.075 H 312.3°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#280F35
RGBrgb(40, 15, 53)
HSLhsl(279, 56%, 13%)
HSVhsv(279, 72%, 21%)
CMYKcmyk(24.5%, 71.7%, 0%, 79.2%)
CIE-LABlab(9.40, 20.98, -19.69)
CIE-LCHlch(9.40, 28.77, 316.82°)
OKLaboklab(22.8% 0.0503 -0.0553)
OKLCHoklch(22.8% 0.075 312.3)
XYZxyz(1.6884, 1.0498, 3.4812)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F35 #1C350F
analogous
#150F35 #280F35 #350F2F
triadic
#280F35 #35280F #0F3528
tetradic
#280F35 #35150F #1C350F #0F2F35
square
#280F35 #35150F #1C350F #0F2F35
split-complementary
#280F35 #2F350F #0F3515
monochromatic
#120718 #120718 #280F35 #4C1C65 #702A94

Accessibility & contrast

On white

17.36
#280F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F35
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F35#FFFFFF#000000##FFFFFF
##280F351.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#271620
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280f35;
/* rgb */ color: rgb(40, 15, 53);
/* oklch */ color: oklch(22.8% 0.075 312.3);
Tailwind
colors: {
  custom: {
    50: '#634f6c',
    500: '#280f35',
    950: '#000000',
  },
}
SCSS
$custom: #280f35;
$custom-light: #634f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280f35",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 279.474,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22797,
    "c": 0.07479,
    "h": 312.3
  },
  "luminance": 0.0105
}

Semantic roles & 50–950 ramp

primary
#280F35
secondary
#466F31
accent
#DF497C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #280F35

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

Preview Lab → · Contrast checker → · Palette generator →

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