#211255#211255

#211255 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.113 H 285.3°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#211255
RGBrgb(33, 18, 85)
HSLhsl(253, 65%, 20%)
HSVhsv(253, 79%, 33%)
CMYKcmyk(61.2%, 78.8%, 0%, 66.7%)
CIE-LABlab(12.04, 27.51, -37.92)
CIE-LCHlch(12.04, 46.85, 305.96°)
OKLaboklab(25.38% 0.0299 -0.1091)
OKLCHoklch(25.38% 0.113 285.3)
XYZxyz(2.4827, 1.4117, 8.7342)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211255 #465512
analogous
#122455 #211255 #431255
triadic
#211255 #552112 #125521
tetradic
#211255 #551224 #465512 #125543
square
#211255 #551224 #465512 #125543
split-complementary
#211255 #554312 #245512
monochromatic
#0A0519 #0D0722 #211255 #351D88 #4827BA

Accessibility & contrast

On white

16.38
#211255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211255
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211255#FFFFFF#000000##FFFFFF
##2112551.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#082432
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211255;
/* rgb */ color: rgb(33, 18, 85);
/* oklch */ color: oklch(25.4% 0.113 285.3);
Tailwind
colors: {
  custom: {
    50: '#635186',
    500: '#211255',
    950: '#000000',
  },
}
SCSS
$custom: #211255;
$custom-light: #635186;
$custom-dark: #000000;
JSON
{
  "hex": "#211255",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 253.433,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2538,
    "c": 0.11316,
    "h": 285.3
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#211255
secondary
#7A8E35
accent
#E840C2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211255

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

Preview Lab → · Contrast checker → · Palette generator →

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