#28103D#28103D

#28103D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.6% C 0.084 H 305.4°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#28103D
RGBrgb(40, 16, 61)
HSLhsl(272, 58%, 15%)
HSVhsv(272, 74%, 24%)
CMYKcmyk(34.4%, 73.8%, 0%, 76.1%)
CIE-LABlab(10.25, 22.62, -24.08)
CIE-LCHlch(10.25, 33.04, 313.20°)
OKLaboklab(23.61% 0.0485 -0.0682)
OKLCHoklch(23.61% 0.084 305.4)
XYZxyz(1.9025, 1.1586, 4.5374)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28103D #253D10
analogous
#11103D #28103D #3D103C
triadic
#28103D #3D2810 #103D28
tetradic
#28103D #3D1110 #253D10 #103C3D
square
#28103D #3D1110 #253D10 #103C3D
split-complementary
#28103D #3C3D10 #103D11
monochromatic
#100618 #100618 #28103D #481D6D #68299E

Accessibility & contrast

On white

17.05
#28103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#28103D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28103D
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28103D#FFFFFF#000000##FFFFFF
##28103D1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#241A24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #28103d;
/* rgb */ color: rgb(40, 16, 61);
/* oklch */ color: oklch(23.6% 0.084 305.4);
Tailwind
colors: {
  custom: {
    50: '#645073',
    500: '#28103d',
    950: '#000000',
  },
}
SCSS
$custom: #28103d;
$custom-light: #645073;
$custom-dark: #000000;
JSON
{
  "hex": "#28103d",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 272,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23611,
    "c": 0.08369,
    "h": 305.4
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#28103D
secondary
#527732
accent
#E2468F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #28103D

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

Preview Lab → · Contrast checker → · Palette generator →

#28103D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva