#211259#211259

#211259 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.119 H 284.1°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#211259
RGBrgb(33, 18, 89)
HSLhsl(253, 66%, 21%)
HSVhsv(253, 80%, 35%)
CMYKcmyk(62.9%, 79.8%, 0%, 65.1%)
CIE-LABlab(12.46, 28.86, -39.93)
CIE-LCHlch(12.46, 49.27, 305.86°)
OKLaboklab(25.81% 0.0288 -0.115)
OKLCHoklch(25.81% 0.119 284.1)
XYZxyz(2.6461, 1.4770, 9.5949)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211259 #4A5912
analogous
#122659 #211259 #441259
triadic
#211259 #592112 #125921
tetradic
#211259 #591226 #4A5912 #125944
square
#211259 #591226 #4A5912 #125944
split-complementary
#211259 #594412 #265912
monochromatic
#090519 #0E0826 #211259 #341C8C #4727BF

Accessibility & contrast

On white

16.21
#211259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#211259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211259
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211259#FFFFFF#000000##FFFFFF
##2112591.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#032634
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211259;
/* rgb */ color: rgb(33, 18, 89);
/* oklch */ color: oklch(25.8% 0.119 284.1);
Tailwind
colors: {
  custom: {
    50: '#645289',
    500: '#211259',
    950: '#000000',
  },
}
SCSS
$custom: #211259;
$custom-light: #645289;
$custom-dark: #000000;
JSON
{
  "hex": "#211259",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 252.676,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25811,
    "c": 0.11859,
    "h": 284.1
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#211259
secondary
#7E9235
accent
#E93FC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211259

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

Preview Lab → · Contrast checker → · Palette generator →

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