#201262#201262

#201262 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.131 H 280.9°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#201262
RGBrgb(32, 18, 98)
HSLhsl(251, 69%, 23%)
HSVhsv(251, 82%, 38%)
CMYKcmyk(67.3%, 81.6%, 0%, 61.6%)
CIE-LABlab(13.36, 31.74, -44.48)
CIE-LCHlch(13.36, 54.65, 305.51°)
OKLaboklab(26.72% 0.0246 -0.1284)
OKLCHoklch(26.72% 0.131 280.9)
XYZxyz(3.0159, 1.6213, 11.7069)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201262 #546212
analogous
#122C62 #201262 #481262
triadic
#201262 #622012 #126220
tetradic
#201262 #62122C #546212 #126248
square
#201262 #62122C #546212 #126248
split-complementary
#201262 #624812 #2C6212
monochromatic
#08051A #0F092E #201262 #311B96 #4225C9

Accessibility & contrast

On white

15.86
#201262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#201262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201262
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201262#FFFFFF#000000##FFFFFF
##2012621.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#001F61
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201262;
/* rgb */ color: rgb(32, 18, 98);
/* oklch */ color: oklch(26.7% 0.131 280.9);
Tailwind
colors: {
  custom: {
    50: '#665290',
    500: '#201262',
    950: '#000000',
  },
}
SCSS
$custom: #201262;
$custom-light: #665290;
$custom-dark: #000000;
JSON
{
  "hex": "#201262",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 250.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26717,
    "c": 0.1307,
    "h": 280.9
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#201262
secondary
#899A36
accent
#EC3CCD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #201262

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

Preview Lab → · Contrast checker → · Palette generator →

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