#281050#281050

#281050 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.109 H 294.4°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#281050
RGBrgb(40, 16, 80)
HSLhsl(263, 67%, 19%)
HSVhsv(263, 80%, 31%)
CMYKcmyk(50%, 80%, 0%, 68.6%)
CIE-LABlab(11.96, 28.32, -34.59)
CIE-LCHlch(11.96, 44.71, 309.31°)
OKLaboklab(25.37% 0.045 -0.0991)
OKLCHoklch(25.37% 0.109 294.4)
XYZxyz(2.5079, 1.4008, 7.7261)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281050 #385010
analogous
#101850 #281050 #481050
triadic
#281050 #502810 #105028
tetradic
#281050 #501018 #385010 #105048
square
#281050 #501018 #385010 #105048
split-complementary
#281050 #504810 #185010
monochromatic
#0D051A #0F061D #281050 #421A83 #5B24B6

Accessibility & contrast

On white

16.40
#281050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#281050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281050
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281050#FFFFFF#000000##FFFFFF
##2810501.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#1C212F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281050;
/* rgb */ color: rgb(40, 16, 80);
/* oklch */ color: oklch(25.4% 0.109 294.4);
Tailwind
colors: {
  custom: {
    50: '#675182',
    500: '#281050',
    950: '#000000',
  },
}
SCSS
$custom: #281050;
$custom-light: #675182;
$custom-dark: #000000;
JSON
{
  "hex": "#281050",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 262.5,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25371,
    "c": 0.10883,
    "h": 294.4
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#281050
secondary
#698A32
accent
#EA3EA9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #281050

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

Preview Lab → · Contrast checker → · Palette generator →

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