#281070#281070

#281070 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.149 H 283.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#281070
RGBrgb(40, 16, 112)
HSLhsl(255, 75%, 25%)
HSVhsv(255, 86%, 44%)
CMYKcmyk(64.3%, 85.7%, 0%, 56.1%)
CIE-LABlab(15.44, 38.16, -50.22)
CIE-LCHlch(15.44, 63.08, 307.23°)
OKLaboklab(28.84% 0.0344 -0.1448)
OKLCHoklch(28.84% 0.149 283.4)
XYZxyz(3.9841, 1.9913, 15.5005)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281070 #587010
analogous
#102870 #281070 #581070
triadic
#281070 #702810 #107028
tetradic
#281070 #701028 #587010 #107058
square
#281070 #701028 #587010 #107058
split-complementary
#281070 #705810 #287010
monochromatic
#0A041B #15083A #281070 #3B18A6 #4E1FDB

Accessibility & contrast

On white

15.02
#281070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#281070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281070
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281070#FFFFFF#000000##FFFFFF
##2810701.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281070;
/* rgb */ color: rgb(40, 16, 112);
/* oklch */ color: oklch(28.8% 0.149 283.4);
Tailwind
colors: {
  custom: {
    50: '#6d539a',
    500: '#281070',
    950: '#000000',
  },
}
SCSS
$custom: #281070;
$custom-light: #6d539a;
$custom-dark: #000000;
JSON
{
  "hex": "#281070",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 255,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28843,
    "c": 0.14884,
    "h": 283.4
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#281070
secondary
#8BA834
accent
#F236C3
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281070

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

Preview Lab → · Contrast checker → · Palette generator →

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