#280F4B#280F4B

#280F4B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.104 H 297.2°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#280F4B
RGBrgb(40, 15, 75)
HSLhsl(265, 67%, 18%)
HSVhsv(265, 80%, 29%)
CMYKcmyk(46.7%, 80%, 0%, 70.6%)
CIE-LABlab(11.28, 27.36, -32.25)
CIE-LCHlch(11.28, 42.30, 310.31°)
OKLaboklab(24.74% 0.0473 -0.0922)
OKLCHoklch(24.74% 0.104 297.2)
XYZxyz(2.3156, 1.3007, 6.7843)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F4B #324B0F
analogous
#0F144B #280F4B #460F4B
triadic
#280F4B #4B280F #0F4B28
tetradic
#280F4B #4B0F14 #324B0F #0F4B46
square
#280F4B #4B0F14 #324B0F #0F4B46
split-complementary
#280F4B #4B460F #144B0F
monochromatic
#0E051A #0E051A #280F4B #43197E #5E23B1

Accessibility & contrast

On white

16.66
#280F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#280F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F4B
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F4B#FFFFFF#000000##FFFFFF
##280F4B1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#1F1E2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #280f4b;
/* rgb */ color: rgb(40, 15, 75);
/* oklch */ color: oklch(24.7% 0.104 297.2);
Tailwind
colors: {
  custom: {
    50: '#66507e',
    500: '#280f4b',
    950: '#000000',
  },
}
SCSS
$custom: #280f4b;
$custom-light: #66507e;
$custom-dark: #000000;
JSON
{
  "hex": "#280f4b",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 265,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24738,
    "c": 0.10367,
    "h": 297.2
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#280F4B
secondary
#628530
accent
#EA3EA2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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