#211268#211268

#211268 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.138 H 280.2°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#211268
RGBrgb(33, 18, 104)
HSLhsl(250, 70%, 24%)
HSVhsv(250, 83%, 41%)
CMYKcmyk(68.3%, 82.7%, 0%, 59.2%)
CIE-LABlab(14.15, 33.85, -47.15)
CIE-LCHlch(14.15, 58.04, 305.68°)
OKLaboklab(27.5% 0.0244 -0.1361)
OKLCHoklch(27.5% 0.138 280.2)
XYZxyz(3.3414, 1.7552, 13.2567)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211268 #596812
analogous
#122E68 #211268 #4C1268
triadic
#211268 #682112 #126821
tetradic
#211268 #68122E #596812 #12684C
square
#211268 #68122E #596812 #12684C
split-complementary
#211268 #684C12 #2E6812
monochromatic
#08051A #100934 #211268 #321B9C #4224D0

Accessibility & contrast

On white

15.54
#211268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#211268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211268
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211268#FFFFFF#000000##FFFFFF
##2112681.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #211268;
/* rgb */ color: rgb(33, 18, 104);
/* oklch */ color: oklch(27.5% 0.138 280.2);
Tailwind
colors: {
  custom: {
    50: '#685394',
    500: '#211268',
    950: '#000000',
  },
}
SCSS
$custom: #211268;
$custom-light: #685394;
$custom-dark: #000000;
JSON
{
  "hex": "#211268",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 250.465,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27497,
    "c": 0.13828,
    "h": 280.2
  },
  "luminance": 0.01755
}

Semantic roles & 50–950 ramp

primary
#211268
secondary
#8DA036
accent
#ED3BCE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211268

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

Preview Lab → · Contrast checker → · Palette generator →

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