#280F51#280F51

#280F51 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.111 H 294.2°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#280F51
RGBrgb(40, 15, 81)
HSLhsl(263, 69%, 19%)
HSVhsv(263, 81%, 32%)
CMYKcmyk(50.6%, 81.5%, 0%, 68.2%)
CIE-LABlab(11.87, 29.18, -35.43)
CIE-LCHlch(11.87, 45.89, 309.47°)
OKLaboklab(25.34% 0.0457 -0.1015)
OKLCHoklch(25.34% 0.111 294.2)
XYZxyz(2.5307, 1.3868, 7.9173)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F51 #38510F
analogous
#0F1751 #280F51 #490F51
triadic
#280F51 #51280F #0F5128
tetradic
#280F51 #510F17 #38510F #0F5149
square
#280F51 #510F17 #38510F #0F5149
split-complementary
#280F51 #51490F #17510F
monochromatic
#0D051A #0F051D #280F51 #421985 #5B22B8

Accessibility & contrast

On white

16.44
#280F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#280F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F51
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F51#FFFFFF#000000##FFFFFF
##280F511.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#1C212F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #280f51;
/* rgb */ color: rgb(40, 15, 81);
/* oklch */ color: oklch(25.3% 0.111 294.2);
Tailwind
colors: {
  custom: {
    50: '#675082',
    500: '#280f51',
    950: '#000000',
  },
}
SCSS
$custom: #280f51;
$custom-light: #675082;
$custom-dark: #000000;
JSON
{
  "hex": "#280f51",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 262.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25336,
    "c": 0.11136,
    "h": 294.2
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#280F51
secondary
#698B31
accent
#EC3CA9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280F51

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

Preview Lab → · Contrast checker → · Palette generator →

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