#280F4E#280F4E

#280F4E is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.108 H 295.6°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#280F4E
RGBrgb(40, 15, 78)
HSLhsl(264, 68%, 18%)
HSVhsv(264, 81%, 31%)
CMYKcmyk(48.7%, 80.8%, 0%, 69.4%)
CIE-LABlab(11.57, 28.27, -33.85)
CIE-LCHlch(11.57, 44.10, 309.86°)
OKLaboklab(25.03% 0.0465 -0.0969)
OKLCHoklch(25.03% 0.108 295.6)
XYZxyz(2.4207, 1.3428, 7.3379)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F4E #354E0F
analogous
#0F154E #280F4E #470F4E
triadic
#280F4E #4E280F #0F4E28
tetradic
#280F4E #4E0F15 #354E0F #0F4E47
square
#280F4E #4E0F15 #354E0F #0F4E47
split-complementary
#280F4E #4E470F #154E0F
monochromatic
#0D051A #0E051B #280F4E #421981 #5D23B5

Accessibility & contrast

On white

16.55
#280F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F4E
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F4E#FFFFFF#000000##FFFFFF
##280F4E1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#1E1F2D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #280f4e;
/* rgb */ color: rgb(40, 15, 78);
/* oklch */ color: oklch(25.0% 0.108 295.6);
Tailwind
colors: {
  custom: {
    50: '#675080',
    500: '#280f4e',
    950: '#000000',
  },
}
SCSS
$custom: #280f4e;
$custom-light: #675080;
$custom-dark: #000000;
JSON
{
  "hex": "#280f4e",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 263.81,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25034,
    "c": 0.10752,
    "h": 295.6
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#280F4E
secondary
#658831
accent
#EB3DA6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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