#201255#201255

#201255 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.113 H 284.4°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#201255
RGBrgb(32, 18, 85)
HSLhsl(253, 65%, 20%)
HSVhsv(253, 79%, 33%)
CMYKcmyk(62.4%, 78.8%, 0%, 66.7%)
CIE-LABlab(11.93, 27.35, -38.10)
CIE-LCHlch(11.93, 46.90, 305.67°)
OKLaboklab(25.28% 0.0282 -0.1097)
OKLCHoklch(25.28% 0.113 284.4)
XYZxyz(2.4512, 1.3954, 8.7327)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201255 #475512
analogous
#122655 #201255 #411255
triadic
#201255 #552012 #125520
tetradic
#201255 #551226 #475512 #125541
square
#201255 #551226 #475512 #125541
split-complementary
#201255 #554112 #265512
monochromatic
#0A0519 #0D0722 #201255 #331D88 #4627BA

Accessibility & contrast

On white

16.42
#201255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#201255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201255
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201255#FFFFFF#000000##FFFFFF
##2012551.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#052432
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201255;
/* rgb */ color: rgb(32, 18, 85);
/* oklch */ color: oklch(25.3% 0.113 284.4);
Tailwind
colors: {
  custom: {
    50: '#635186',
    500: '#201255',
    950: '#000000',
  },
}
SCSS
$custom: #201255;
$custom-light: #635186;
$custom-dark: #000000;
JSON
{
  "hex": "#201255",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 252.537,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25277,
    "c": 0.11328,
    "h": 284.4
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#201255
secondary
#7B8E35
accent
#E840C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201255

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

Preview Lab → · Contrast checker → · Palette generator →

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