#280F58#280F58

#280F58 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.120 H 291.2°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#280F58
RGBrgb(40, 15, 88)
HSLhsl(261, 71%, 20%)
HSVhsv(261, 83%, 35%)
CMYKcmyk(54.5%, 83%, 0%, 65.5%)
CIE-LABlab(12.59, 31.31, -39.01)
CIE-LCHlch(12.59, 50.02, 308.75°)
OKLaboklab(26.06% 0.0436 -0.1121)
OKLCHoklch(26.06% 0.12 291.2)
XYZxyz(2.8068, 1.4972, 9.3717)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F58 #3F580F
analogous
#0F1A58 #280F58 #4C0F58
triadic
#280F58 #58280F #0F5828
tetradic
#280F58 #580F1A #3F580F #0F584C
square
#280F58 #580F1A #3F580F #0F584C
split-complementary
#280F58 #584C0F #1A580F
monochromatic
#0C041A #100624 #280F58 #40188C #5821C1

Accessibility & contrast

On white

16.16
#280F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#280F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F58
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F58#FFFFFF#000000##FFFFFF
##280F581.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#172333
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #280f58;
/* rgb */ color: rgb(40, 15, 88);
/* oklch */ color: oklch(26.1% 0.120 291.2);
Tailwind
colors: {
  custom: {
    50: '#685188',
    500: '#280f58',
    950: '#000000',
  },
}
SCSS
$custom: #280f58;
$custom-light: #685188;
$custom-dark: #000000;
JSON
{
  "hex": "#280f58",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 260.548,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26062,
    "c": 0.12023,
    "h": 291.2
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#280F58
secondary
#719231
accent
#EE3AB0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #280F58

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

Preview Lab → · Contrast checker → · Palette generator →

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