#280F45#280F45

#280F45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.096 H 300.5°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#280F45
RGBrgb(40, 15, 69)
HSLhsl(268, 64%, 16%)
HSVhsv(268, 78%, 27%)
CMYKcmyk(42%, 78.3%, 0%, 72.9%)
CIE-LABlab(10.72, 25.56, -28.98)
CIE-LCHlch(10.72, 38.64, 311.42°)
OKLaboklab(24.17% 0.0486 -0.0826)
OKLCHoklch(24.17% 0.096 300.5)
XYZxyz(2.1198, 1.2224, 5.7533)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F45 #2C450F
analogous
#0F1145 #280F45 #430F45
triadic
#280F45 #45280F #0F4528
tetradic
#280F45 #450F11 #2C450F #0F4543
square
#280F45 #450F11 #2C450F #0F4543
split-complementary
#280F45 #45430F #11450F
monochromatic
#0F0519 #0F0519 #280F45 #451A77 #6225AA

Accessibility & contrast

On white

16.88
#280F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#280F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F45
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F45#FFFFFF#000000##FFFFFF
##280F451.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#221C28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #280f45;
/* rgb */ color: rgb(40, 15, 69);
/* oklch */ color: oklch(24.2% 0.096 300.5);
Tailwind
colors: {
  custom: {
    50: '#654f79',
    500: '#280f45',
    950: '#000000',
  },
}
SCSS
$custom: #280f45;
$custom-light: #654f79;
$custom-dark: #000000;
JSON
{
  "hex": "#280f45",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 267.778,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24167,
    "c": 0.09587,
    "h": 300.5
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#280F45
secondary
#5B7F30
accent
#E7419A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #280F45

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

Preview Lab → · Contrast checker → · Palette generator →

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