#210440#210440

#210440 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.103 H 299.1°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#210440
RGBrgb(33, 4, 64)
HSLhsl(269, 88%, 13%)
HSVhsv(269, 94%, 25%)
CMYKcmyk(48.4%, 93.8%, 0%, 74.9%)
CIE-LABlab(7.05, 28.68, -31.48)
CIE-LCHlch(7.05, 42.59, 312.34°)
OKLaboklab(21.18% 0.0504 -0.0903)
OKLCHoklch(21.18% 0.103 299.1)
XYZxyz(1.5958, 0.7803, 4.9160)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210440 #234004
analogous
#040540 #210440 #3F0440
triadic
#210440 #402104 #044021
tetradic
#210440 #400405 #234004 #04403F
square
#210440 #400405 #234004 #04403F
split-complementary
#210440 #403F04 #054004
monochromatic
#0F021D #0F021D #210440 #3F087A #5C0BB3

Accessibility & contrast

On white

18.17
#210440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210440
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210440#FFFFFF#000000##FFFFFF
##2104401.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#191523
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210440;
/* rgb */ color: rgb(33, 4, 64);
/* oklch */ color: oklch(21.2% 0.103 299.1);
Tailwind
colors: {
  custom: {
    50: '#614875',
    500: '#210440',
    950: '#000000',
  },
}
SCSS
$custom: #210440;
$custom-light: #614875;
$custom-dark: #000000;
JSON
{
  "hex": "#210440",
  "rgb": {
    "r": 33,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 269,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21175,
    "c": 0.10342,
    "h": 299.1
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#210440
secondary
#52811F
accent
#FE2997
background
#F5F4F7
surface
#EAE6ED
border
#C6C2C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210440

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

Preview Lab → · Contrast checker → · Palette generator →

#210440 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva