#2C13A1#2C13A1

#2C13A1 is a dark, highly saturated violet. Relative luminance 0.036; OKLCH L 35.3% C 0.203 H 276.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2C13A1
RGBrgb(44, 19, 161)
HSLhsl(251, 79%, 35%)
HSVhsv(251, 88%, 63%)
CMYKcmyk(72.7%, 88.2%, 0%, 36.9%)
CIE-LABlab(22.21, 51.68, -69.80)
CIE-LCHlch(22.21, 86.85, 306.51°)
OKLaboklab(35.3% 0.022 -0.2016)
OKLCHoklch(35.3% 0.203 276.2)
XYZxyz(7.7025, 3.5737, 33.9952)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C13A1 #88A113
analogous
#1341A1 #2C13A1 #7313A1
triadic
#2C13A1 #A12C13 #13A12C
tetradic
#2C13A1 #A11341 #88A113 #13A173
square
#2C13A1 #A11341 #88A113 #13A173
split-complementary
#2C13A1 #A17313 #41A113
monochromatic
#0E0634 #1D0D6A #2C13A1 #3B19D8 #6245E9

Accessibility & contrast

On white

12.25
#2C13A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2C13A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C13A1
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C13A1#FFFFFF#000000##FFFFFF
##2C13A11.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c13a1;
/* rgb */ color: rgb(44, 19, 161);
/* oklch */ color: oklch(35.3% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#7959be',
    500: '#2c13a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c13a1;
$custom-light: #7959be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c13a1",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 161
  },
  "hsl": {
    "h": 250.563,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35298,
    "c": 0.20283,
    "h": 276.2
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#2C13A1
secondary
#B3CA46
accent
#F532D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C13A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2C13A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva