#281130#281130

#281130 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.8% C 0.064 H 316.7°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#281130
RGBrgb(40, 17, 48)
HSLhsl(285, 48%, 13%)
HSVhsv(285, 65%, 19%)
CMYKcmyk(16.7%, 64.6%, 0%, 81.2%)
CIE-LABlab(9.53, 18.36, -15.83)
CIE-LCHlch(9.53, 24.24, 319.22°)
OKLaboklab(22.78% 0.0468 -0.0441)
OKLCHoklch(22.78% 0.064 316.7)
XYZxyz(1.6089, 1.0655, 2.9166)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281130 #193011
analogous
#181130 #281130 #301128
triadic
#281130 #302811 #113028
tetradic
#281130 #301811 #193011 #112830
square
#281130 #301811 #193011 #112830
split-complementary
#281130 #283011 #113018
monochromatic
#130817 #130817 #281130 #4E215D #73318A

Accessibility & contrast

On white

17.31
#281130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#281130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281130
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281130#FFFFFF#000000##FFFFFF
##2811301.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1931
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#28161E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #281130;
/* rgb */ color: rgb(40, 17, 48);
/* oklch */ color: oklch(22.8% 0.064 316.7);
Tailwind
colors: {
  custom: {
    50: '#635068',
    500: '#281130',
    950: '#000000',
  },
}
SCSS
$custom: #281130;
$custom-light: #635068;
$custom-dark: #000000;
JSON
{
  "hex": "#281130",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 284.516,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22775,
    "c": 0.06429,
    "h": 316.7
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#281130
secondary
#426934
accent
#D75173
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #281130

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

Preview Lab → · Contrast checker → · Palette generator →

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