#280F50#280F50

#280F50 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.110 H 294.7°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#280F50
RGBrgb(40, 15, 80)
HSLhsl(263, 68%, 19%)
HSVhsv(263, 81%, 31%)
CMYKcmyk(50%, 81.3%, 0%, 68.6%)
CIE-LABlab(11.77, 28.87, -34.90)
CIE-LCHlch(11.77, 45.30, 309.60°)
OKLaboklab(25.24% 0.046 -0.1)
OKLCHoklch(25.24% 0.11 294.7)
XYZxyz(2.4935, 1.3719, 7.7213)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F50 #37500F
analogous
#0F1650 #280F50 #480F50
triadic
#280F50 #50280F #0F5028
tetradic
#280F50 #500F16 #37500F #0F5048
square
#280F50 #500F16 #37500F #0F5048
split-complementary
#280F50 #50480F #16500F
monochromatic
#0D051A #0E051C #280F50 #421984 #5C22B7

Accessibility & contrast

On white

16.48
#280F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F50
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F50#FFFFFF#000000##FFFFFF
##280F501.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#1C202E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #280f50;
/* rgb */ color: rgb(40, 15, 80);
/* oklch */ color: oklch(25.2% 0.110 294.7);
Tailwind
colors: {
  custom: {
    50: '#675082',
    500: '#280f50',
    950: '#000000',
  },
}
SCSS
$custom: #280f50;
$custom-light: #675082;
$custom-dark: #000000;
JSON
{
  "hex": "#280f50",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 263.077,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25235,
    "c": 0.11009,
    "h": 294.7
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#280F50
secondary
#688A31
accent
#EB3DA8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280F50

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

Preview Lab → · Contrast checker → · Palette generator →

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