#281680#281680

#281680 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.163 H 279.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#281680
RGBrgb(40, 22, 128)
HSLhsl(250, 71%, 29%)
HSVhsv(250, 83%, 50%)
CMYKcmyk(68.8%, 82.8%, 0%, 49.8%)
CIE-LABlab(18.29, 40.26, -55.79)
CIE-LCHlch(18.29, 68.79, 305.81°)
OKLaboklab(31.36% 0.0257 -0.1611)
OKLCHoklch(31.36% 0.163 279.1)
XYZxyz(5.0570, 2.5830, 20.6500)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281680 #6E8016
analogous
#163980 #281680 #5D1680
triadic
#281680 #802816 #168028
tetradic
#281680 #801639 #6E8016 #16805D
square
#281680 #801639 #6E8016 #16805D
split-complementary
#281680 #805D16 #398016
monochromatic
#08041A #180D4C #281680 #381FB4 #5134DC

Accessibility & contrast

On white

13.85
#281680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#281680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281680
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281680#FFFFFF#000000##FFFFFF
##2816801.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #281680;
/* rgb */ color: rgb(40, 22, 128);
/* oklch */ color: oklch(31.4% 0.163 279.1);
Tailwind
colors: {
  custom: {
    50: '#7057a6',
    500: '#281680',
    950: '#000000',
  },
}
SCSS
$custom: #281680;
$custom-light: #7057a6;
$custom-dark: #000000;
JSON
{
  "hex": "#281680",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 250.189,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31364,
    "c": 0.16315,
    "h": 279.1
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#281680
secondary
#A0B53D
accent
#ED3ACF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #281680

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

Preview Lab → · Contrast checker → · Palette generator →

#281680 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva