#28243A#28243A

#28243A is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.5% C 0.040 H 291.9°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#28243A
RGBrgb(40, 36, 58)
HSLhsl(251, 23%, 18%)
HSVhsv(251, 38%, 23%)
CMYKcmyk(31%, 37.9%, 0%, 77.3%)
CIE-LABlab(15.58, 7.85, -13.51)
CIE-LCHlch(15.58, 15.62, 300.15°)
OKLaboklab(27.53% 0.015 -0.0375)
OKLCHoklch(27.53% 0.04 291.9)
XYZxyz(2.2695, 2.0183, 4.2722)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28243A #363A24
analogous
#242B3A #28243A #33243A
triadic
#28243A #3A2824 #243A28
tetradic
#28243A #3A242B #363A24 #243A33
square
#28243A #3A242B #363A24 #243A33
split-complementary
#28243A #3A3324 #2B3A24
monochromatic
#0D0C13 #0E0D14 #28243A #423B60 #5C5386

Accessibility & contrast

On white

14.96
#28243A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#28243A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28243A
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28243A#FFFFFF#000000##FFFFFF
##28243A1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273B
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#24282C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28243a;
/* rgb */ color: rgb(40, 36, 58);
/* oklch */ color: oklch(27.5% 0.040 291.9);
Tailwind
colors: {
  custom: {
    50: '#625e70',
    500: '#28243a',
    950: '#000000',
  },
}
SCSS
$custom: #28243a;
$custom-light: #625e70;
$custom-dark: #000000;
JSON
{
  "hex": "#28243a",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 58
  },
  "hsl": {
    "h": 250.909,
    "s": 23.404,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2753,
    "c": 0.04039,
    "h": 291.9
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#28243A
secondary
#676C4E
accent
#C068B0
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050407
muted
#79797A

Preview Lab

Preview with #28243A

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

Preview Lab → · Contrast checker → · Palette generator →

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