#280F53#280F53

#280F53 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.114 H 293.3°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#280F53
RGBrgb(40, 15, 83)
HSLhsl(262, 69%, 19%)
HSVhsv(262, 82%, 33%)
CMYKcmyk(51.8%, 81.9%, 0%, 67.5%)
CIE-LABlab(12.07, 29.79, -36.46)
CIE-LCHlch(12.07, 47.08, 309.25°)
OKLaboklab(25.54% 0.0451 -0.1046)
OKLCHoklch(25.54% 0.114 293.3)
XYZxyz(2.6068, 1.4172, 8.3181)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F53 #3A530F
analogous
#0F1853 #280F53 #4A0F53
triadic
#280F53 #53280F #0F5328
tetradic
#280F53 #530F18 #3A530F #0F534A
square
#280F53 #530F18 #3A530F #0F534A
split-complementary
#280F53 #534A0F #18530F
monochromatic
#0C051A #0F061F #280F53 #411887 #5A22BB

Accessibility & contrast

On white

16.36
#280F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#280F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F53
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F53#FFFFFF#000000##FFFFFF
##280F531.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#1B2130
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #280f53;
/* rgb */ color: rgb(40, 15, 83);
/* oklch */ color: oklch(25.5% 0.114 293.3);
Tailwind
colors: {
  custom: {
    50: '#675084',
    500: '#280f53',
    950: '#000000',
  },
}
SCSS
$custom: #280f53;
$custom-light: #675084;
$custom-dark: #000000;
JSON
{
  "hex": "#280f53",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 262.059,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2554,
    "c": 0.11391,
    "h": 293.3
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#280F53
secondary
#6B8D31
accent
#EC3CAB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #280F53

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

Preview Lab → · Contrast checker → · Palette generator →

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