#211265#211265

#211265 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.134 H 280.9°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#211265
RGBrgb(33, 18, 101)
HSLhsl(251, 70%, 23%)
HSVhsv(251, 82%, 40%)
CMYKcmyk(67.3%, 82.2%, 0%, 60.4%)
CIE-LABlab(13.80, 32.87, -45.74)
CIE-LCHlch(13.80, 56.33, 305.70°)
OKLaboklab(27.15% 0.0253 -0.132)
OKLCHoklch(27.15% 0.134 280.9)
XYZxyz(3.1917, 1.6953, 12.4684)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211265 #566512
analogous
#122C65 #211265 #4A1265
triadic
#211265 #652112 #126521
tetradic
#211265 #65122C #566512 #12654A
square
#211265 #65122C #566512 #12654A
split-complementary
#211265 #654A12 #2C6512
monochromatic
#08051A #100931 #211265 #321B99 #4325CD

Accessibility & contrast

On white

15.68
#211265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#211265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211265
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211265#FFFFFF#000000##FFFFFF
##2112651.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211265;
/* rgb */ color: rgb(33, 18, 101);
/* oklch */ color: oklch(27.2% 0.134 280.9);
Tailwind
colors: {
  custom: {
    50: '#675292',
    500: '#211265',
    950: '#000000',
  },
}
SCSS
$custom: #211265;
$custom-light: #675292;
$custom-dark: #000000;
JSON
{
  "hex": "#211265",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 250.843,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27152,
    "c": 0.13442,
    "h": 280.9
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#211265
secondary
#8A9D36
accent
#ED3BCD
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #211265

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

Preview Lab → · Contrast checker → · Palette generator →

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