#280F4F#280F4F

#280F4F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.109 H 295.2°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#280F4F
RGBrgb(40, 15, 79)
HSLhsl(263, 68%, 18%)
HSVhsv(263, 81%, 31%)
CMYKcmyk(49.4%, 81%, 0%, 69%)
CIE-LABlab(11.67, 28.57, -34.38)
CIE-LCHlch(11.67, 44.70, 309.73°)
OKLaboklab(25.13% 0.0463 -0.0985)
OKLCHoklch(25.13% 0.109 295.2)
XYZxyz(2.4568, 1.3572, 7.5281)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F4F #364F0F
analogous
#0F164F #280F4F #480F4F
triadic
#280F4F #4F280F #0F4F28
tetradic
#280F4F #4F0F16 #364F0F #0F4F48
square
#280F4F #4F0F16 #364F0F #0F4F48
split-complementary
#280F4F #4F480F #164F0F
monochromatic
#0D051A #0E051C #280F4F #421982 #5C23B6

Accessibility & contrast

On white

16.52
#280F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#280F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F4F
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F4F#FFFFFF#000000##FFFFFF
##280F4F1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#1D202E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #280f4f;
/* rgb */ color: rgb(40, 15, 79);
/* oklch */ color: oklch(25.1% 0.109 295.2);
Tailwind
colors: {
  custom: {
    50: '#675081',
    500: '#280f4f',
    950: '#000000',
  },
}
SCSS
$custom: #280f4f;
$custom-light: #675081;
$custom-dark: #000000;
JSON
{
  "hex": "#280f4f",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 263.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25134,
    "c": 0.10881,
    "h": 295.2
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#280F4F
secondary
#678931
accent
#EB3DA7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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