#281075#281075

#281075 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.155 H 282.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#281075
RGBrgb(40, 16, 117)
HSLhsl(254, 76%, 26%)
HSVhsv(254, 86%, 46%)
CMYKcmyk(65.8%, 86.3%, 0%, 54.1%)
CIE-LABlab(16.03, 39.68, -52.48)
CIE-LCHlch(16.03, 65.79, 307.09°)
OKLaboklab(29.42% 0.0326 -0.1514)
OKLCHoklch(29.42% 0.155 282.1)
XYZxyz(4.2702, 2.1057, 17.0076)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281075 #5D7510
analogous
#102A75 #281075 #5A1075
triadic
#281075 #752810 #107528
tetradic
#281075 #75102A #5D7510 #10755A
square
#281075 #75102A #5D7510 #10755A
split-complementary
#281075 #755A10 #2A7510
monochromatic
#09041B #16093F #281075 #3A17AB #4D1FE0

Accessibility & contrast

On white

14.78
#281075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281075
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281075#FFFFFF#000000##FFFFFF
##2810751.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281075;
/* rgb */ color: rgb(40, 16, 117);
/* oklch */ color: oklch(29.4% 0.155 282.1);
Tailwind
colors: {
  custom: {
    50: '#6e539e',
    500: '#281075',
    950: '#000000',
  },
}
SCSS
$custom: #281075;
$custom-light: #6e539e;
$custom-dark: #000000;
JSON
{
  "hex": "#281075",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 254.257,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29424,
    "c": 0.15486,
    "h": 282.1
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#281075
secondary
#90AC35
accent
#F335C6
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281075

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

Preview Lab → · Contrast checker → · Palette generator →

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