#201259#201259

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

Color values

HEX#201259
RGBrgb(32, 18, 89)
HSLhsl(252, 66%, 21%)
HSVhsv(252, 80%, 35%)
CMYKcmyk(64%, 79.8%, 0%, 65.1%)
CIE-LABlab(12.36, 28.71, -40.10)
CIE-LCHlch(12.36, 49.32, 305.60°)
OKLaboklab(25.71% 0.0272 -0.1156)
OKLCHoklch(25.71% 0.119 283.2)
XYZxyz(2.6146, 1.4608, 9.5934)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201259 #4B5912
analogous
#122759 #201259 #431259
triadic
#201259 #592012 #125920
tetradic
#201259 #591227 #4B5912 #125943
square
#201259 #591227 #4B5912 #125943
split-complementary
#201259 #594312 #275912
monochromatic
#090519 #0E0826 #201259 #321C8C #4527BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##201259#FFFFFF#000000##FFFFFF
##2012591.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)
#00225B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201259;
/* rgb */ color: rgb(32, 18, 89);
/* oklch */ color: oklch(25.7% 0.119 283.2);
Tailwind
colors: {
  custom: {
    50: '#645289',
    500: '#201259',
    950: '#000000',
  },
}
SCSS
$custom: #201259;
$custom-light: #645289;
$custom-dark: #000000;
JSON
{
  "hex": "#201259",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 251.831,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25711,
    "c": 0.11873,
    "h": 283.2
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#201259
secondary
#7F9235
accent
#E93FC8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201259

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

Preview Lab → · Contrast checker → · Palette generator →

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