#280F47#280F47

#280F47 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.098 H 299.3°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#280F47
RGBrgb(40, 15, 71)
HSLhsl(267, 65%, 17%)
HSVhsv(267, 79%, 28%)
CMYKcmyk(43.7%, 78.9%, 0%, 72.2%)
CIE-LABlab(10.90, 26.16, -30.08)
CIE-LCHlch(10.90, 39.86, 311.01°)
OKLaboklab(24.35% 0.0482 -0.0858)
OKLCHoklch(24.35% 0.098 299.3)
XYZxyz(2.1829, 1.2477, 6.0858)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F47 #2E470F
analogous
#0F1247 #280F47 #440F47
triadic
#280F47 #47280F #0F4728
tetradic
#280F47 #470F12 #2E470F #0F4744
square
#280F47 #470F12 #2E470F #0F4744
split-complementary
#280F47 #47440F #12470F
monochromatic
#0E0519 #0E0519 #280F47 #441A7A #6124AC

Accessibility & contrast

On white

16.81
#280F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#280F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F47
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F47#FFFFFF#000000##FFFFFF
##280F471.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#211D29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #280f47;
/* rgb */ color: rgb(40, 15, 71);
/* oklch */ color: oklch(24.4% 0.098 299.3);
Tailwind
colors: {
  custom: {
    50: '#65507b',
    500: '#280f47',
    950: '#000000',
  },
}
SCSS
$custom: #280f47;
$custom-light: #65507b;
$custom-dark: #000000;
JSON
{
  "hex": "#280f47",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 266.786,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24354,
    "c": 0.09847,
    "h": 299.3
  },
  "luminance": 0.01248
}

Semantic roles & 50–950 ramp

primary
#280F47
secondary
#5D8130
accent
#E8409D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #280F47

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

Preview Lab → · Contrast checker → · Palette generator →

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