#2C1453#2C1453

#2C1453 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.108 H 295.6°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#2C1453
RGBrgb(44, 20, 83)
HSLhsl(263, 61%, 20%)
HSVhsv(263, 76%, 33%)
CMYKcmyk(47%, 75.9%, 0%, 67.5%)
CIE-LABlab(13.59, 27.78, -33.96)
CIE-LCHlch(13.59, 43.87, 309.28°)
OKLaboklab(26.74% 0.0466 -0.0971)
OKLCHoklch(26.74% 0.108 295.6)
XYZxyz(2.8498, 1.6603, 8.3523)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1453 #3B5314
analogous
#141C53 #2C1453 #4B1453
triadic
#2C1453 #532C14 #14532C
tetradic
#2C1453 #53141C #3B5314 #14534B
square
#2C1453 #53141C #3B5314 #14534B
split-complementary
#2C1453 #534B14 #1C5314
monochromatic
#0D0619 #120822 #2C1453 #462084 #602CB6

Accessibility & contrast

On white

15.77
#2C1453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2C1453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1453
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1453#FFFFFF#000000##FFFFFF
##2C14531.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#222431
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2c1453;
/* rgb */ color: rgb(44, 20, 83);
/* oklch */ color: oklch(26.7% 0.108 295.6);
Tailwind
colors: {
  custom: {
    50: '#695484',
    500: '#2c1453',
    950: '#000000',
  },
}
SCSS
$custom: #2c1453;
$custom-light: #695484;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1453",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 262.857,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26737,
    "c": 0.10771,
    "h": 295.6
  },
  "luminance": 0.0166
}

Semantic roles & 50–950 ramp

primary
#2C1453
secondary
#6B8B38
accent
#E444A7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C1453

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

Preview Lab → · Contrast checker → · Palette generator →

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