#2C1553#2C1553

#2C1553 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.106 H 295.3°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#2C1553
RGBrgb(44, 21, 83)
HSLhsl(262, 60%, 20%)
HSVhsv(262, 75%, 33%)
CMYKcmyk(47%, 74.7%, 0%, 67.5%)
CIE-LABlab(13.81, 27.19, -33.61)
CIE-LCHlch(13.81, 43.23, 308.97°)
OKLaboklab(26.89% 0.0455 -0.0961)
OKLCHoklch(26.89% 0.106 295.3)
XYZxyz(2.8678, 1.6963, 8.3583)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1553 #3C5315
analogous
#151D53 #2C1553 #4B1553
triadic
#2C1553 #532C15 #15532C
tetradic
#2C1553 #53151D #3C5315 #15534B
square
#2C1553 #53151D #3C5315 #15534B
split-complementary
#2C1553 #534B15 #1D5315
monochromatic
#0D0618 #120922 #2C1553 #462184 #602EB5

Accessibility & contrast

On white

15.68
#2C1553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2C1553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1553
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1553#FFFFFF#000000##FFFFFF
##2C15531.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1553;
/* rgb */ color: rgb(44, 21, 83);
/* oklch */ color: oklch(26.9% 0.106 295.3);
Tailwind
colors: {
  custom: {
    50: '#695484',
    500: '#2c1553',
    950: '#000000',
  },
}
SCSS
$custom: #2c1553;
$custom-light: #695484;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1553",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 262.258,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26888,
    "c": 0.10631,
    "h": 295.3
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#2C1553
secondary
#6C8B39
accent
#E345A8
background
#F6F4F8
surface
#EBE8EF
border
#C6C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2C1553

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

Preview Lab → · Contrast checker → · Palette generator →

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