#210640#210640

#210640 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.101 H 298.5°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#210640
RGBrgb(33, 6, 64)
HSLhsl(268, 83%, 14%)
HSVhsv(268, 91%, 25%)
CMYKcmyk(48.4%, 90.6%, 0%, 74.9%)
CIE-LABlab(7.44, 27.57, -30.84)
CIE-LCHlch(7.44, 41.37, 311.80°)
OKLaboklab(21.46% 0.048 -0.0883)
OKLCHoklch(21.46% 0.101 298.5)
XYZxyz(1.6175, 0.8237, 4.9233)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210640 #254006
analogous
#060840 #210640 #3E0640
triadic
#210640 #402106 #064021
tetradic
#210640 #400608 #254006 #06403E
square
#210640 #400608 #254006 #06403E
split-complementary
#210640 #403E06 #084006
monochromatic
#0E031C #0E031C #210640 #3E0B78 #5B10B0

Accessibility & contrast

On white

18.03
#210640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210640
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210640#FFFFFF#000000##FFFFFF
##2106401.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210640;
/* rgb */ color: rgb(33, 6, 64);
/* oklch */ color: oklch(21.5% 0.101 298.5);
Tailwind
colors: {
  custom: {
    50: '#614975',
    500: '#210640',
    950: '#000000',
  },
}
SCSS
$custom: #210640;
$custom-light: #614975;
$custom-dark: #000000;
JSON
{
  "hex": "#210640",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 267.931,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21464,
    "c": 0.10055,
    "h": 298.5
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#210640
secondary
#548022
accent
#F92F9B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210640

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

Preview Lab → · Contrast checker → · Palette generator →

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