#2C1454#2C1454

#2C1454 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.109 H 295.2°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#2C1454
RGBrgb(44, 20, 84)
HSLhsl(263, 62%, 20%)
HSVhsv(263, 76%, 33%)
CMYKcmyk(47.6%, 76.2%, 0%, 67.1%)
CIE-LABlab(13.68, 28.08, -34.49)
CIE-LCHlch(13.68, 44.48, 309.16°)
OKLaboklab(26.83% 0.0464 -0.0987)
OKLCHoklch(26.83% 0.109 295.2)
XYZxyz(2.8887, 1.6758, 8.5571)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1454 #3C5414
analogous
#141C54 #2C1454 #4C1454
triadic
#2C1454 #542C14 #14542C
tetradic
#2C1454 #54141C #3C5414 #14544C
square
#2C1454 #54141C #3C5414 #14544C
split-complementary
#2C1454 #544C14 #1C5414
monochromatic
#0D0619 #120823 #2C1454 #462085 #602CB7

Accessibility & contrast

On white

15.73
#2C1454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1454
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1454#FFFFFF#000000##FFFFFF
##2C14541.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1454;
/* rgb */ color: rgb(44, 20, 84);
/* oklch */ color: oklch(26.8% 0.109 295.2);
Tailwind
colors: {
  custom: {
    50: '#6a5485',
    500: '#2c1454',
    950: '#000000',
  },
}
SCSS
$custom: #2c1454;
$custom-light: #6a5485;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1454",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 84
  },
  "hsl": {
    "h": 262.5,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26831,
    "c": 0.10904,
    "h": 295.2
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#2C1454
secondary
#6C8C38
accent
#E543A8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2C1454

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

Preview Lab → · Contrast checker → · Palette generator →

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