#281670#281670

#281670 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.143 H 282.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#281670
RGBrgb(40, 22, 112)
HSLhsl(252, 67%, 26%)
HSVhsv(252, 80%, 44%)
CMYKcmyk(64.3%, 80.4%, 0%, 56.1%)
CIE-LABlab(16.48, 35.17, -48.51)
CIE-LCHlch(16.48, 59.92, 305.94°)
OKLaboklab(29.56% 0.0306 -0.1399)
OKLCHoklch(29.56% 0.143 282.3)
XYZxyz(4.0857, 2.1945, 15.5344)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281670 #5E7016
analogous
#163170 #281670 #551670
triadic
#281670 #702816 #167028
tetradic
#281670 #701631 #5E7016 #167055
square
#281670 #701631 #5E7016 #167055
split-complementary
#281670 #705516 #317016
monochromatic
#09051A #160C3D #281670 #3A20A3 #4D2BD5

Accessibility & contrast

On white

14.59
#281670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281670
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281670#FFFFFF#000000##FFFFFF
##2816701.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281670;
/* rgb */ color: rgb(40, 22, 112);
/* oklch */ color: oklch(29.6% 0.143 282.3);
Tailwind
colors: {
  custom: {
    50: '#6c569a',
    500: '#281670',
    950: '#000000',
  },
}
SCSS
$custom: #281670;
$custom-light: #6c569a;
$custom-dark: #000000;
JSON
{
  "hex": "#281670",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 252,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29562,
    "c": 0.14322,
    "h": 282.3
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#281670
secondary
#91A63C
accent
#EA3EC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #281670

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

Preview Lab → · Contrast checker → · Palette generator →

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