#2C1044#2C1044

#2C1044 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.094 H 305.2°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#2C1044
RGBrgb(44, 16, 68)
HSLhsl(272, 62%, 16%)
HSVhsv(272, 76%, 27%)
CMYKcmyk(35.3%, 76.5%, 0%, 73.3%)
CIE-LABlab(11.44, 25.66, -27.09)
CIE-LCHlch(11.44, 37.31, 313.45°)
OKLaboklab(24.78% 0.0542 -0.0769)
OKLCHoklch(24.78% 0.094 305.2)
XYZxyz(2.2672, 1.3234, 5.6037)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1044 #284410
analogous
#121044 #2C1044 #441042
triadic
#2C1044 #442C10 #10442C
tetradic
#2C1044 #441210 #284410 #104244
square
#2C1044 #441210 #284410 #104244
split-complementary
#2C1044 #424410 #104412
monochromatic
#100619 #100619 #2C1044 #4C1C76 #6C27A7

Accessibility & contrast

On white

16.61
#2C1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C1044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1044
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1044#FFFFFF#000000##FFFFFF
##2C10441.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#021E43
Tritanopia (blue-blind)
#281C28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c1044;
/* rgb */ color: rgb(44, 16, 68);
/* oklch */ color: oklch(24.8% 0.094 305.2);
Tailwind
colors: {
  custom: {
    50: '#685078',
    500: '#2c1044',
    950: '#000000',
  },
}
SCSS
$custom: #2c1044;
$custom-light: #685078;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1044",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 272.308,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24782,
    "c": 0.09404,
    "h": 305.2
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#2C1044
secondary
#557E32
accent
#E5438E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1044

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

Preview Lab → · Contrast checker → · Palette generator →

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