#280D58#280D58

#280D58 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.8% C 0.122 H 291.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#280D58
RGBrgb(40, 13, 88)
HSLhsl(262, 74%, 20%)
HSVhsv(262, 85%, 35%)
CMYKcmyk(54.5%, 85.2%, 0%, 65.5%)
CIE-LABlab(12.24, 32.31, -39.58)
CIE-LCHlch(12.24, 51.09, 309.23°)
OKLaboklab(25.82% 0.0452 -0.1137)
OKLCHoklch(25.82% 0.122 291.7)
XYZxyz(2.7799, 1.4434, 9.3628)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D58 #3D580D
analogous
#0D1858 #280D58 #4E0D58
triadic
#280D58 #58280D #0D5828
tetradic
#280D58 #580D18 #3D580D #0D584E
square
#280D58 #580D18 #3D580D #0D584E
split-complementary
#280D58 #584E0D #18580D
monochromatic
#0C041B #100523 #280D58 #40158D #581DC3

Accessibility & contrast

On white

16.29
#280D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#280D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D58
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D58#FFFFFF#000000##FFFFFF
##280D581.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#182333
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #280d58;
/* rgb */ color: rgb(40, 13, 88);
/* oklch */ color: oklch(25.8% 0.122 291.7);
Tailwind
colors: {
  custom: {
    50: '#685088',
    500: '#280d58',
    950: '#000000',
  },
}
SCSS
$custom: #280d58;
$custom-light: #685088;
$custom-dark: #000000;
JSON
{
  "hex": "#280d58",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 261.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25821,
    "c": 0.12238,
    "h": 291.7
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#280D58
secondary
#6E932E
accent
#F137AE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #280D58

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

Preview Lab → · Contrast checker → · Palette generator →

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