#211258#211258

#211258 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.117 H 284.4°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#211258
RGBrgb(33, 18, 88)
HSLhsl(253, 66%, 21%)
HSVhsv(253, 80%, 35%)
CMYKcmyk(62.5%, 79.5%, 0%, 65.5%)
CIE-LABlab(12.35, 28.52, -39.43)
CIE-LCHlch(12.35, 48.66, 305.88°)
OKLaboklab(25.7% 0.0291 -0.1136)
OKLCHoklch(25.7% 0.117 284.4)
XYZxyz(2.6044, 1.4604, 9.3753)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211258 #495812
analogous
#122658 #211258 #441258
triadic
#211258 #582112 #125821
tetradic
#211258 #581226 #495812 #125844
square
#211258 #581226 #495812 #125844
split-complementary
#211258 #584412 #265812
monochromatic
#0A0519 #0E0825 #211258 #341C8B #4727BE

Accessibility & contrast

On white

16.25
#211258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#211258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211258
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211258#FFFFFF#000000##FFFFFF
##2112581.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#042534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211258;
/* rgb */ color: rgb(33, 18, 88);
/* oklch */ color: oklch(25.7% 0.117 284.4);
Tailwind
colors: {
  custom: {
    50: '#645288',
    500: '#211258',
    950: '#000000',
  },
}
SCSS
$custom: #211258;
$custom-light: #645288;
$custom-dark: #000000;
JSON
{
  "hex": "#211258",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 252.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25702,
    "c": 0.11724,
    "h": 284.4
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211258

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

Preview Lab → · Contrast checker → · Palette generator →

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