#28033B#28033B

#28033B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.101 H 310.6°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#28033B
RGBrgb(40, 3, 59)
HSLhsl(280, 90%, 12%)
HSVhsv(280, 95%, 23%)
CMYKcmyk(32.2%, 94.9%, 0%, 76.9%)
CIE-LABlab(7.52, 29.32, -27.08)
CIE-LCHlch(7.52, 39.91, 317.28°)
OKLaboklab(21.61% 0.0659 -0.0769)
OKLCHoklch(21.61% 0.101 310.6)
XYZxyz(1.6969, 0.8320, 4.2080)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28033B #163B03
analogous
#0C033B #28033B #3B0332
triadic
#28033B #3B2803 #033B28
tetradic
#28033B #3B0C03 #163B03 #03323B
square
#28033B #3B0C03 #163B03 #03323B
split-complementary
#28033B #323B03 #033B0C
monochromatic
#14011D #14011D #28033B #4F0675 #7709AF

Accessibility & contrast

On white

18.00
#28033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#28033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28033B
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28033B#FFFFFF#000000##FFFFFF
##28033B1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#25111F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #28033b;
/* rgb */ color: rgb(40, 3, 59);
/* oklch */ color: oklch(21.6% 0.101 310.6);
Tailwind
colors: {
  custom: {
    50: '#654871',
    500: '#28033b',
    950: '#000000',
  },
}
SCSS
$custom: #28033b;
$custom-light: #654871;
$custom-dark: #000000;
JSON
{
  "hex": "#28033b",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 279.643,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21613,
    "c": 0.10128,
    "h": 310.6
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#28033B
secondary
#3D7E1C
accent
#FF2971
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28033B

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

Preview Lab → · Contrast checker → · Palette generator →

#28033B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva