#2C1045#2C1045

#2C1045 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.095 H 304.5°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#2C1045
RGBrgb(44, 16, 69)
HSLhsl(272, 62%, 17%)
HSVhsv(272, 77%, 27%)
CMYKcmyk(36.2%, 76.8%, 0%, 72.9%)
CIE-LABlab(11.52, 25.94, -27.65)
CIE-LCHlch(11.52, 37.92, 313.18°)
OKLaboklab(24.87% 0.054 -0.0785)
OKLCHoklch(24.87% 0.095 304.5)
XYZxyz(2.2979, 1.3357, 5.7658)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1045 #294510
analogous
#121045 #2C1045 #451044
triadic
#2C1045 #452C10 #10452C
tetradic
#2C1045 #451210 #294510 #104445
square
#2C1045 #451210 #294510 #104445
split-complementary
#2C1045 #444510 #104512
monochromatic
#100619 #100619 #2C1045 #4C1C77 #6B27A8

Accessibility & contrast

On white

16.57
#2C1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2C1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1045
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1045#FFFFFF#000000##FFFFFF
##2C10451.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001F44
Tritanopia (blue-blind)
#271C29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c1045;
/* rgb */ color: rgb(44, 16, 69);
/* oklch */ color: oklch(24.9% 0.095 304.5);
Tailwind
colors: {
  custom: {
    50: '#685079',
    500: '#2c1045',
    950: '#000000',
  },
}
SCSS
$custom: #2c1045;
$custom-light: #685079;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1045",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 271.698,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2487,
    "c": 0.09532,
    "h": 304.5
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#2C1045
secondary
#567F32
accent
#E5428F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1045

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

Preview Lab → · Contrast checker → · Palette generator →

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