#280F54#280F54

#280F54 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.115 H 292.9°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#280F54
RGBrgb(40, 15, 84)
HSLhsl(262, 70%, 19%)
HSVhsv(262, 82%, 33%)
CMYKcmyk(52.4%, 82.1%, 0%, 67.1%)
CIE-LABlab(12.17, 30.09, -36.98)
CIE-LCHlch(12.17, 47.67, 309.14°)
OKLaboklab(25.64% 0.0448 -0.1061)
OKLCHoklch(25.64% 0.115 292.9)
XYZxyz(2.6457, 1.4328, 8.5229)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F54 #3B540F
analogous
#0F1954 #280F54 #4B0F54
triadic
#280F54 #54280F #0F5428
tetradic
#280F54 #540F19 #3B540F #0F544B
square
#280F54 #540F19 #3B540F #0F544B
split-complementary
#280F54 #544B0F #19540F
monochromatic
#0C051A #0F0620 #280F54 #411888 #5922BC

Accessibility & contrast

On white

16.32
#280F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#280F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F54
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F54#FFFFFF#000000##FFFFFF
##280F541.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#1A2231
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #280f54;
/* rgb */ color: rgb(40, 15, 84);
/* oklch */ color: oklch(25.6% 0.115 292.9);
Tailwind
colors: {
  custom: {
    50: '#685085',
    500: '#280f54',
    950: '#000000',
  },
}
SCSS
$custom: #280f54;
$custom-light: #685085;
$custom-dark: #000000;
JSON
{
  "hex": "#280f54",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 261.739,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25643,
    "c": 0.11518,
    "h": 292.9
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#280F54
secondary
#6C8E31
accent
#ED3BAC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #280F54

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

Preview Lab → · Contrast checker → · Palette generator →

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