#210648#210648

#210648 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.110 H 294.0°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#210648
RGBrgb(33, 6, 72)
HSLhsl(265, 85%, 15%)
HSVhsv(265, 92%, 28%)
CMYKcmyk(54.2%, 91.7%, 0%, 71.8%)
CIE-LABlab(8.32, 29.96, -35.05)
CIE-LCHlch(8.32, 46.11, 310.52°)
OKLaboklab(22.35% 0.0448 -0.1006)
OKLCHoklch(22.35% 0.11 294)
XYZxyz(1.8617, 0.9214, 6.2094)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210648 #2D4806
analogous
#060C48 #210648 #420648
triadic
#210648 #482106 #064821
tetradic
#210648 #48060C #2D4806 #064842
square
#210648 #48060C #2D4806 #064842
split-complementary
#210648 #484206 #0C4806
monochromatic
#0D021C #0D021C #210648 #3B0B80 #550FB9

Accessibility & contrast

On white

17.73
#210648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210648
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210648#FFFFFF#000000##FFFFFF
##2106481.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#151A28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210648;
/* rgb */ color: rgb(33, 6, 72);
/* oklch */ color: oklch(22.4% 0.110 294.0);
Tailwind
colors: {
  custom: {
    50: '#624a7c',
    500: '#210648',
    950: '#000000',
  },
}
SCSS
$custom: #210648;
$custom-light: #624a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#210648",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 264.545,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22351,
    "c": 0.11014,
    "h": 294
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#210648
secondary
#5E8723
accent
#FB2DA7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210648

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

Preview Lab → · Contrast checker → · Palette generator →

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