#280F56#280F56

#280F56 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.118 H 292.1°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#280F56
RGBrgb(40, 15, 86)
HSLhsl(261, 70%, 20%)
HSVhsv(261, 83%, 34%)
CMYKcmyk(53.5%, 82.6%, 0%, 66.3%)
CIE-LABlab(12.38, 30.70, -38.00)
CIE-LCHlch(12.38, 48.85, 308.94°)
OKLaboklab(25.85% 0.0442 -0.1091)
OKLCHoklch(25.85% 0.118 292.1)
XYZxyz(2.7251, 1.4645, 8.9414)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F56 #3D560F
analogous
#0F1956 #280F56 #4C0F56
triadic
#280F56 #56280F #0F5628
tetradic
#280F56 #560F19 #3D560F #0F564C
square
#280F56 #560F19 #3D560F #0F564C
split-complementary
#280F56 #564C0F #19560F
monochromatic
#0C051A #100622 #280F56 #40188A #5821BE

Accessibility & contrast

On white

16.24
#280F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F56
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F56#FFFFFF#000000##FFFFFF
##280F561.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#192332
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #280f56;
/* rgb */ color: rgb(40, 15, 86);
/* oklch */ color: oklch(25.9% 0.118 292.1);
Tailwind
colors: {
  custom: {
    50: '#685086',
    500: '#280f56',
    950: '#000000',
  },
}
SCSS
$custom: #280f56;
$custom-light: #685086;
$custom-dark: #000000;
JSON
{
  "hex": "#280f56",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 261.127,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25852,
    "c": 0.11771,
    "h": 292.1
  },
  "luminance": 0.01465
}

Semantic roles & 50–950 ramp

primary
#280F56
secondary
#6E9031
accent
#ED3BAE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #280F56

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

Preview Lab → · Contrast checker → · Palette generator →

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