#280F3B#280F3B

#280F3B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.083 H 307.3°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#280F3B
RGBrgb(40, 15, 59)
HSLhsl(274, 59%, 15%)
HSVhsv(274, 75%, 23%)
CMYKcmyk(32.2%, 74.6%, 0%, 76.9%)
CIE-LABlab(9.87, 22.65, -23.27)
CIE-LCHlch(9.87, 32.47, 314.22°)
OKLaboklab(23.28% 0.0501 -0.0658)
OKLCHoklch(23.28% 0.083 307.3)
XYZxyz(1.8351, 1.1086, 4.2541)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F3B #223B0F
analogous
#120F3B #280F3B #3B0F38
triadic
#280F3B #3B280F #0F3B28
tetradic
#280F3B #3B120F #223B0F #0F383B
square
#280F3B #3B120F #223B0F #0F383B
split-complementary
#280F3B #383B0F #0F3B12
monochromatic
#110618 #110618 #280F3B #491B6C #6A289D

Accessibility & contrast

On white

17.19
#280F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F3B
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F3B#FFFFFF#000000##FFFFFF
##280F3B1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#251823
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280f3b;
/* rgb */ color: rgb(40, 15, 59);
/* oklch */ color: oklch(23.3% 0.083 307.3);
Tailwind
colors: {
  custom: {
    50: '#644f71',
    500: '#280f3b',
    950: '#000000',
  },
}
SCSS
$custom: #280f3b;
$custom-light: #644f71;
$custom-dark: #000000;
JSON
{
  "hex": "#280f3b",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 274.091,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23282,
    "c": 0.08271,
    "h": 307.3
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#280F3B
secondary
#4E7530
accent
#E34589
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #280F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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