#201258#201258

#201258 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.117 H 283.5°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#201258
RGBrgb(32, 18, 88)
HSLhsl(252, 66%, 21%)
HSVhsv(252, 80%, 35%)
CMYKcmyk(63.6%, 79.5%, 0%, 65.5%)
CIE-LABlab(12.25, 28.37, -39.61)
CIE-LCHlch(12.25, 48.72, 305.61°)
OKLaboklab(25.6% 0.0274 -0.1141)
OKLCHoklch(25.6% 0.117 283.5)
XYZxyz(2.5729, 1.4441, 9.3738)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201258 #4A5812
analogous
#122758 #201258 #431258
triadic
#201258 #582012 #125820
tetradic
#201258 #581227 #4A5812 #125843
square
#201258 #581227 #4A5812 #125843
split-complementary
#201258 #584312 #275812
monochromatic
#090519 #0E0825 #201258 #321C8B #4527BE

Accessibility & contrast

On white

16.29
#201258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201258
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201258#FFFFFF#000000##FFFFFF
##2012581.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#012534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201258;
/* rgb */ color: rgb(32, 18, 88);
/* oklch */ color: oklch(25.6% 0.117 283.5);
Tailwind
colors: {
  custom: {
    50: '#645188',
    500: '#201258',
    950: '#000000',
  },
}
SCSS
$custom: #201258;
$custom-light: #645188;
$custom-dark: #000000;
JSON
{
  "hex": "#201258",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 252,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25602,
    "c": 0.11737,
    "h": 283.5
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#201258
secondary
#7E9135
accent
#E93FC7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201258

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

Preview Lab → · Contrast checker → · Palette generator →

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