#211351#211351

#211351 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.106 H 286.3°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#211351
RGBrgb(33, 19, 81)
HSLhsl(254, 62%, 20%)
HSVhsv(254, 77%, 32%)
CMYKcmyk(59.3%, 76.5%, 0%, 68.2%)
CIE-LABlab(11.84, 25.54, -35.50)
CIE-LCHlch(11.84, 43.73, 305.73°)
OKLaboklab(25.12% 0.0299 -0.1021)
OKLCHoklch(25.12% 0.106 286.3)
XYZxyz(2.3448, 1.3830, 7.9264)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211351 #435113
analogous
#132451 #211351 #401351
triadic
#211351 #512113 #135121
tetradic
#211351 #511324 #435113 #135140
square
#211351 #511324 #435113 #135140
split-complementary
#211351 #514013 #245113
monochromatic
#0A0619 #0D071F #211351 #351F83 #492AB4

Accessibility & contrast

On white

16.45
#211351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#211351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211351
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211351#FFFFFF#000000##FFFFFF
##2113511.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002153
Deuteranopia (green-blind)
#001D50
Tritanopia (blue-blind)
#0D2330
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #211351;
/* rgb */ color: rgb(33, 19, 81);
/* oklch */ color: oklch(25.1% 0.106 286.3);
Tailwind
colors: {
  custom: {
    50: '#625282',
    500: '#211351',
    950: '#000000',
  },
}
SCSS
$custom: #211351;
$custom-light: #625282;
$custom-dark: #000000;
JSON
{
  "hex": "#211351",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 253.548,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25118,
    "c": 0.10635,
    "h": 286.3
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#211351
secondary
#778A36
accent
#E543C0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #211351

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

Preview Lab → · Contrast checker → · Palette generator →

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