#2C1049#2C1049

#2C1049 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.100 H 302.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#2C1049
RGBrgb(44, 16, 73)
HSLhsl(269, 64%, 17%)
HSVhsv(269, 78%, 29%)
CMYKcmyk(39.7%, 78.1%, 0%, 71.4%)
CIE-LABlab(11.87, 27.09, -29.88)
CIE-LCHlch(11.87, 40.33, 312.19°)
OKLaboklab(25.23% 0.0533 -0.0851)
OKLCHoklch(25.23% 0.1 302.1)
XYZxyz(2.4263, 1.3871, 6.4419)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1049 #2D4910
analogous
#101049 #2C1049 #491049
triadic
#2C1049 #492C10 #10492C
tetradic
#2C1049 #491010 #2D4910 #104949
square
#2C1049 #491010 #2D4910 #104949
split-complementary
#2C1049 #494910 #104910
monochromatic
#0F0619 #0F0619 #2C1049 #4A1B7B #6926AD

Accessibility & contrast

On white

16.44
#2C1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C1049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1049
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1049#FFFFFF#000000##FFFFFF
##2C10491.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#261E2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c1049;
/* rgb */ color: rgb(44, 16, 73);
/* oklch */ color: oklch(25.2% 0.100 302.1);
Tailwind
colors: {
  custom: {
    50: '#68517c',
    500: '#2c1049',
    950: '#000000',
  },
}
SCSS
$custom: #2c1049;
$custom-light: #68517c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1049",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 269.474,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25228,
    "c": 0.10041,
    "h": 302.1
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#2C1049
secondary
#5B8332
accent
#E74195
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1049

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

Preview Lab → · Contrast checker → · Palette generator →

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