#281470#281470

#281470 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.145 H 282.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#281470
RGBrgb(40, 20, 112)
HSLhsl(253, 70%, 26%)
HSVhsv(253, 82%, 44%)
CMYKcmyk(64.3%, 82.1%, 0%, 56.1%)
CIE-LABlab(16.11, 36.22, -49.12)
CIE-LCHlch(16.11, 61.03, 306.41°)
OKLaboklab(29.31% 0.032 -0.1416)
OKLCHoklch(29.31% 0.145 282.7)
XYZxyz(4.0489, 2.1210, 15.5221)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281470 #5C7014
analogous
#142E70 #281470 #561470
triadic
#281470 #702814 #147028
tetradic
#281470 #70142E #5C7014 #147056
square
#281470 #70142E #5C7014 #147056
split-complementary
#281470 #705614 #2E7014
monochromatic
#09051A #150B3C #281470 #3B1DA4 #4D27D8

Accessibility & contrast

On white

14.75
#281470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#281470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281470
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281470#FFFFFF#000000##FFFFFF
##2814701.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281470;
/* rgb */ color: rgb(40, 20, 112);
/* oklch */ color: oklch(29.3% 0.145 282.7);
Tailwind
colors: {
  custom: {
    50: '#6d559a',
    500: '#281470',
    950: '#000000',
  },
}
SCSS
$custom: #281470;
$custom-light: #6d559a;
$custom-dark: #000000;
JSON
{
  "hex": "#281470",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 253.043,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29306,
    "c": 0.14521,
    "h": 282.7
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#281470
secondary
#8FA639
accent
#ED3BC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #281470

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

Preview Lab → · Contrast checker → · Palette generator →

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