#2C1569#2C1569

#2C1569 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.135 H 287.2°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2C1569
RGBrgb(44, 21, 105)
HSLhsl(256, 67%, 25%)
HSVhsv(256, 80%, 41%)
CMYKcmyk(58.1%, 80%, 0%, 58.8%)
CIE-LABlab(15.96, 34.04, -44.78)
CIE-LCHlch(15.96, 56.25, 307.24°)
OKLaboklab(29.08% 0.04 -0.1288)
OKLCHoklch(29.08% 0.135 287.2)
XYZxyz(3.8559, 2.0915, 13.5624)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1569 #526915
analogous
#152869 #2C1569 #561569
triadic
#2C1569 #692C15 #15692C
tetradic
#2C1569 #691528 #526915 #156956
square
#2C1569 #691528 #526915 #156956
split-complementary
#2C1569 #695615 #286915
monochromatic
#0B051A #170B36 #2C1569 #411F9C #5729CF

Accessibility & contrast

On white

14.81
#2C1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2C1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1569
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1569#FFFFFF#000000##FFFFFF
##2C15691.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#112D3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c1569;
/* rgb */ color: rgb(44, 21, 105);
/* oklch */ color: oklch(29.1% 0.135 287.2);
Tailwind
colors: {
  custom: {
    50: '#6d5595',
    500: '#2c1569',
    950: '#000000',
  },
}
SCSS
$custom: #2c1569;
$custom-light: #6d5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1569",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 256.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29077,
    "c": 0.13491,
    "h": 287.2
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#2C1569
secondary
#84A03A
accent
#EA3EBB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2C1569

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

Preview Lab → · Contrast checker → · Palette generator →

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