#281051#281051

#281051 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.110 H 293.9°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#281051
RGBrgb(40, 16, 81)
HSLhsl(262, 67%, 19%)
HSVhsv(262, 80%, 32%)
CMYKcmyk(50.6%, 80.2%, 0%, 68.2%)
CIE-LABlab(12.06, 28.63, -35.11)
CIE-LCHlch(12.06, 45.31, 309.20°)
OKLaboklab(25.47% 0.0447 -0.1006)
OKLCHoklch(25.47% 0.11 293.9)
XYZxyz(2.5452, 1.4157, 7.9221)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281051 #395110
analogous
#101951 #281051 #491051
triadic
#281051 #512810 #105128
tetradic
#281051 #511019 #395110 #105149
square
#281051 #511019 #395110 #105149
split-complementary
#281051 #514910 #195110
monochromatic
#0D051A #0F061E #281051 #411A84 #5A24B7

Accessibility & contrast

On white

16.37
#281051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281051
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281051#FFFFFF#000000##FFFFFF
##2810511.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#1C212F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281051;
/* rgb */ color: rgb(40, 16, 81);
/* oklch */ color: oklch(25.5% 0.110 293.9);
Tailwind
colors: {
  custom: {
    50: '#675182',
    500: '#281051',
    950: '#000000',
  },
}
SCSS
$custom: #281051;
$custom-light: #675182;
$custom-dark: #000000;
JSON
{
  "hex": "#281051",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 262.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25471,
    "c": 0.11012,
    "h": 293.9
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#281051
secondary
#6A8B32
accent
#EA3EAA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #281051

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

Preview Lab → · Contrast checker → · Palette generator →

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