#281E30#281E30

#281E30 is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.5% C 0.036 H 309.4°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#281E30
RGBrgb(40, 30, 48)
HSLhsl(273, 23%, 15%)
HSVhsv(273, 38%, 19%)
CMYKcmyk(16.7%, 37.5%, 0%, 81.2%)
CIE-LABlab(13.19, 9.24, -10.11)
CIE-LCHlch(13.19, 13.70, 312.41°)
OKLaboklab(25.53% 0.0228 -0.0277)
OKLCHoklch(25.53% 0.036 309.4)
XYZxyz(1.8728, 1.5931, 3.0046)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E30 #26301E
analogous
#1F1E30 #281E30 #301E2F
triadic
#281E30 #30281E #1E3028
tetradic
#281E30 #301F1E #26301E #1E2F30
square
#281E30 #301F1E #26301E #1E2F30
split-complementary
#281E30 #2F301E #1E301F
monochromatic
#100C13 #100C13 #281E30 #473656 #674D7B

Accessibility & contrast

On white

15.93
#281E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#281E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E30
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E30#FFFFFF#000000##FFFFFF
##281E301.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2131
Deuteranopia (green-blind)
#1D222F
Tritanopia (blue-blind)
#272024
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281e30;
/* rgb */ color: rgb(40, 30, 48);
/* oklch */ color: oklch(25.5% 0.036 309.4);
Tailwind
colors: {
  custom: {
    50: '#625968',
    500: '#281e30',
    950: '#000000',
  },
}
SCSS
$custom: #281e30;
$custom-light: #625968;
$custom-dark: #000000;
JSON
{
  "hex": "#281e30",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 273.333,
    "s": 23.077,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25525,
    "c": 0.03589,
    "h": 309.4
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#281E30
secondary
#536347
accent
#C0688F
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #281E30

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

Preview Lab → · Contrast checker → · Palette generator →

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