#28203A#28203A

#28203A is a dark, muted violet. Relative luminance 0.018; OKLCH L 26.6% C 0.048 H 297.2°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#28203A
RGBrgb(40, 32, 58)
HSLhsl(258, 29%, 18%)
HSVhsv(258, 45%, 23%)
CMYKcmyk(31%, 44.8%, 0%, 77.3%)
CIE-LABlab(14.34, 10.73, -15.44)
CIE-LCHlch(14.34, 18.81, 304.80°)
OKLaboklab(26.58% 0.0221 -0.043)
OKLCHoklch(26.58% 0.048 297.2)
XYZxyz(2.1551, 1.7896, 4.2341)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28203A #323A20
analogous
#20253A #28203A #35203A
triadic
#28203A #3A2820 #203A28
tetradic
#28203A #3A2025 #323A20 #203A35
square
#28203A #3A2025 #323A20 #203A35
split-complementary
#28203A #3A3520 #253A20
monochromatic
#0E0B14 #0E0B14 #28203A #433661 #5E4C89

Accessibility & contrast

On white

15.46
#28203A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#28203A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28203A
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28203A#FFFFFF#000000##FFFFFF
##28203A1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243B
Deuteranopia (green-blind)
#1A2439
Tritanopia (blue-blind)
#24242A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #28203a;
/* rgb */ color: rgb(40, 32, 58);
/* oklch */ color: oklch(26.6% 0.048 297.2);
Tailwind
colors: {
  custom: {
    50: '#625b70',
    500: '#28203a',
    950: '#000000',
  },
}
SCSS
$custom: #28203a;
$custom-light: #625b70;
$custom-dark: #000000;
JSON
{
  "hex": "#28203a",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 58
  },
  "hsl": {
    "h": 258.462,
    "s": 28.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26582,
    "c": 0.04839,
    "h": 297.2
  },
  "luminance": 0.0179
}

Semantic roles & 50–950 ramp

primary
#28203A
secondary
#626D49
accent
#C563A7
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050407
muted
#79797A

Preview Lab

Preview with #28203A

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

Preview Lab → · Contrast checker → · Palette generator →

#28203A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva