#201260#201260

#201260 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.128 H 281.4°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#201260
RGBrgb(32, 18, 96)
HSLhsl(251, 68%, 22%)
HSVhsv(251, 81%, 38%)
CMYKcmyk(66.7%, 81.3%, 0%, 62.4%)
CIE-LABlab(13.13, 31.07, -43.52)
CIE-LCHlch(13.13, 53.48, 305.52°)
OKLaboklab(26.49% 0.0252 -0.1256)
OKLCHoklch(26.49% 0.128 281.4)
XYZxyz(2.9226, 1.5840, 11.2158)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201260 #526012
analogous
#122B60 #201260 #471260
triadic
#201260 #602012 #126020
tetradic
#201260 #60122B #526012 #126047
square
#201260 #60122B #526012 #126047
split-complementary
#201260 #604712 #2B6012
monochromatic
#09051A #0F082C #201260 #311C94 #4225C7

Accessibility & contrast

On white

15.95
#201260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201260
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201260#FFFFFF#000000##FFFFFF
##2012601.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201260;
/* rgb */ color: rgb(32, 18, 96);
/* oklch */ color: oklch(26.5% 0.128 281.4);
Tailwind
colors: {
  custom: {
    50: '#65528e',
    500: '#201260',
    950: '#000000',
  },
}
SCSS
$custom: #201260;
$custom-light: #65528e;
$custom-dark: #000000;
JSON
{
  "hex": "#201260",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 250.769,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26491,
    "c": 0.12808,
    "h": 281.4
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#201260
secondary
#869836
accent
#EB3DCC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #201260

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

Preview Lab → · Contrast checker → · Palette generator →

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