#2C0A41#2C0A41

#2C0A41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.099 H 308.8°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2C0A41
RGBrgb(44, 10, 65)
HSLhsl(277, 73%, 15%)
HSVhsv(277, 85%, 25%)
CMYKcmyk(32.3%, 84.6%, 0%, 74.5%)
CIE-LABlab(10.06, 27.99, -27.20)
CIE-LCHlch(10.06, 39.03, 315.82°)
OKLaboklab(23.72% 0.062 -0.0772)
OKLCHoklch(23.72% 0.099 308.8)
XYZxyz(2.1012, 1.1342, 5.1082)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A41 #1F410A
analogous
#110A41 #2C0A41 #410A3B
triadic
#2C0A41 #412C0A #0A412C
tetradic
#2C0A41 #41110A #1F410A #0A3B41
square
#2C0A41 #41110A #1F410A #0A3B41
split-complementary
#2C0A41 #3B410A #0A4111
monochromatic
#12041B #12041B #2C0A41 #501276 #741AAB

Accessibility & contrast

On white

17.12
#2C0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C0A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A41
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A41#FFFFFF#000000##FFFFFF
##2C0A411.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#291725
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0a41;
/* rgb */ color: rgb(44, 10, 65);
/* oklch */ color: oklch(23.7% 0.099 308.8);
Tailwind
colors: {
  custom: {
    50: '#684d76',
    500: '#2c0a41',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a41;
$custom-light: #684d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a41",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 277.091,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23723,
    "c": 0.09897,
    "h": 308.8
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#2C0A41
secondary
#497E29
accent
#F0387E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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