#280F55#280F55

#280F55 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.116 H 292.5°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#280F55
RGBrgb(40, 15, 85)
HSLhsl(261, 70%, 20%)
HSVhsv(261, 82%, 33%)
CMYKcmyk(52.9%, 82.4%, 0%, 66.7%)
CIE-LABlab(12.28, 30.40, -37.49)
CIE-LCHlch(12.28, 48.27, 309.04°)
OKLaboklab(25.75% 0.0445 -0.1076)
OKLCHoklch(25.75% 0.116 292.5)
XYZxyz(2.6851, 1.4485, 8.7307)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F55 #3C550F
analogous
#0F1955 #280F55 #4B0F55
triadic
#280F55 #55280F #0F5528
tetradic
#280F55 #550F19 #3C550F #0F554B
square
#280F55 #550F19 #3C550F #0F554B
split-complementary
#280F55 #554B0F #19550F
monochromatic
#0C051A #100621 #280F55 #401889 #5921BD

Accessibility & contrast

On white

16.28
#280F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F55
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F55#FFFFFF#000000##FFFFFF
##280F551.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280f55;
/* rgb */ color: rgb(40, 15, 85);
/* oklch */ color: oklch(25.7% 0.116 292.5);
Tailwind
colors: {
  custom: {
    50: '#685086',
    500: '#280f55',
    950: '#000000',
  },
}
SCSS
$custom: #280f55;
$custom-light: #685086;
$custom-dark: #000000;
JSON
{
  "hex": "#280f55",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 261.429,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25747,
    "c": 0.11644,
    "h": 292.5
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#280F55
secondary
#6D8F31
accent
#ED3BAD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #280F55

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

Preview Lab → · Contrast checker → · Palette generator →

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