#2C1043#2C1043

#2C1043 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.093 H 305.8°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2C1043
RGBrgb(44, 16, 67)
HSLhsl(273, 61%, 16%)
HSVhsv(273, 76%, 26%)
CMYKcmyk(34.3%, 76.1%, 0%, 73.7%)
CIE-LABlab(11.35, 25.38, -26.52)
CIE-LCHlch(11.35, 36.71, 313.74°)
OKLaboklab(24.7% 0.0543 -0.0752)
OKLCHoklch(24.7% 0.093 305.8)
XYZxyz(2.2369, 1.3113, 5.4444)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1043 #274310
analogous
#131043 #2C1043 #431041
triadic
#2C1043 #432C10 #10432C
tetradic
#2C1043 #431310 #274310 #104143
square
#2C1043 #431310 #274310 #104143
split-complementary
#2C1043 #414310 #104313
monochromatic
#100619 #100619 #2C1043 #4C1C74 #6D28A6

Accessibility & contrast

On white

16.64
#2C1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1043
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1043#FFFFFF#000000##FFFFFF
##2C10431.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#031E42
Tritanopia (blue-blind)
#281B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c1043;
/* rgb */ color: rgb(44, 16, 67);
/* oklch */ color: oklch(24.7% 0.093 305.8);
Tailwind
colors: {
  custom: {
    50: '#685077',
    500: '#2c1043',
    950: '#000000',
  },
}
SCSS
$custom: #2c1043;
$custom-light: #685077;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1043",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 272.941,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24696,
    "c": 0.09277,
    "h": 305.8
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#2C1043
secondary
#547D32
accent
#E5438C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1043

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

Preview Lab → · Contrast checker → · Palette generator →

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