#281A30#281A30

#281A30 is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.6% C 0.045 H 312.6°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#281A30
RGBrgb(40, 26, 48)
HSLhsl(278, 30%, 15%)
HSVhsv(278, 46%, 19%)
CMYKcmyk(16.7%, 45.8%, 0%, 81.2%)
CIE-LABlab(11.98, 12.13, -11.98)
CIE-LCHlch(11.98, 17.05, 315.34°)
OKLaboklab(24.61% 0.0304 -0.0331)
OKLCHoklch(24.61% 0.045 312.6)
XYZxyz(1.7779, 1.4033, 2.9729)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A30 #22301A
analogous
#1D1A30 #281A30 #301A2D
triadic
#281A30 #30281A #1A3028
tetradic
#281A30 #301D1A #22301A #1A2D30
square
#281A30 #301D1A #22301A #1A2D30
split-complementary
#281A30 #2D301A #1A301D
monochromatic
#110B14 #110B14 #281A30 #493058 #6A457F

Accessibility & contrast

On white

16.40
#281A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#281A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##281A30#FFFFFF#000000##FFFFFF
##281A301.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)
#161F31
Deuteranopia (green-blind)
#19202F
Tritanopia (blue-blind)
#271D22
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281a30;
/* rgb */ color: rgb(40, 26, 48);
/* oklch */ color: oklch(24.6% 0.045 312.6);
Tailwind
colors: {
  custom: {
    50: '#625668',
    500: '#281a30',
    950: '#000000',
  },
}
SCSS
$custom: #281a30;
$custom-light: #625668;
$custom-dark: #000000;
JSON
{
  "hex": "#281a30",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 48
  },
  "hsl": {
    "h": 278.182,
    "s": 29.73,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24607,
    "c": 0.04488,
    "h": 312.6
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#281A30
secondary
#4E6442
accent
#C66286
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #281A30

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

Preview Lab → · Contrast checker → · Palette generator →

#281A30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva