#210948#210948

#210948 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.107 H 293.2°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#210948
RGBrgb(33, 9, 72)
HSLhsl(263, 78%, 16%)
HSVhsv(263, 88%, 28%)
CMYKcmyk(54.2%, 87.5%, 0%, 71.8%)
CIE-LABlab(8.88, 28.33, -34.13)
CIE-LCHlch(8.88, 44.36, 309.69°)
OKLaboklab(22.74% 0.0419 -0.098)
OKLCHoklch(22.74% 0.107 293.2)
XYZxyz(1.8943, 0.9865, 6.2202)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210948 #304809
analogous
#091048 #210948 #400948
triadic
#210948 #482109 #094821
tetradic
#210948 #480910 #304809 #094840
square
#210948 #480910 #304809 #094840
split-complementary
#210948 #484009 #104809
monochromatic
#0C031B #0C031B #210948 #3A107E #5317B5

Accessibility & contrast

On white

17.54
#210948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#210948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210948
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210948#FFFFFF#000000##FFFFFF
##2109481.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001847
Tritanopia (blue-blind)
#151B28
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210948;
/* rgb */ color: rgb(33, 9, 72);
/* oklch */ color: oklch(22.7% 0.107 293.2);
Tailwind
colors: {
  custom: {
    50: '#624b7c',
    500: '#210948',
    950: '#000000',
  },
}
SCSS
$custom: #210948;
$custom-light: #624b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#210948",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 262.857,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22738,
    "c": 0.10658,
    "h": 293.2
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#210948
secondary
#628527
accent
#F434AB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210948

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

Preview Lab → · Contrast checker → · Palette generator →

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