#2C1041#2C1041

#2C1041 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.090 H 307.2°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#2C1041
RGBrgb(44, 16, 65)
HSLhsl(274, 60%, 16%)
HSVhsv(274, 75%, 25%)
CMYKcmyk(32.3%, 75.4%, 0%, 74.5%)
CIE-LABlab(11.19, 24.82, -25.38)
CIE-LCHlch(11.19, 35.50, 314.37°)
OKLaboklab(24.53% 0.0545 -0.0719)
OKLCHoklch(24.53% 0.09 307.2)
XYZxyz(2.1779, 1.2877, 5.1338)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1041 #254110
analogous
#131041 #2C1041 #41103D
triadic
#2C1041 #412C10 #10412C
tetradic
#2C1041 #411310 #254110 #103D41
square
#2C1041 #411310 #254110 #103D41
split-complementary
#2C1041 #3D4110 #104113
monochromatic
#110619 #110619 #2C1041 #4D1C72 #6E28A3

Accessibility & contrast

On white

16.70
#2C1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1041
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1041#FFFFFF#000000##FFFFFF
##2C10411.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#051E40
Tritanopia (blue-blind)
#291B26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c1041;
/* rgb */ color: rgb(44, 16, 65);
/* oklch */ color: oklch(24.5% 0.090 307.2);
Tailwind
colors: {
  custom: {
    50: '#675076',
    500: '#2c1041',
    950: '#000000',
  },
}
SCSS
$custom: #2c1041;
$custom-light: #675076;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1041",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 274.286,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24525,
    "c": 0.09021,
    "h": 307.2
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#2C1041
secondary
#517B32
accent
#E44489
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C1041

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

Preview Lab → · Contrast checker → · Palette generator →

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