#2C0E41#2C0E41

#2C0E41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.093 H 307.8°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#2C0E41
RGBrgb(44, 14, 65)
HSLhsl(275, 65%, 15%)
HSVhsv(275, 78%, 25%)
CMYKcmyk(32.3%, 78.5%, 0%, 74.5%)
CIE-LABlab(10.79, 25.95, -26.03)
CIE-LCHlch(10.79, 36.75, 314.91°)
OKLaboklab(24.24% 0.0572 -0.0738)
OKLCHoklch(24.24% 0.093 307.8)
XYZxyz(2.1497, 1.2312, 5.1244)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E41 #23410E
analogous
#120E41 #2C0E41 #410E3C
triadic
#2C0E41 #412C0E #0E412C
tetradic
#2C0E41 #41120E #23410E #0E3C41
square
#2C0E41 #41120E #23410E #0E3C41
split-complementary
#2C0E41 #3C410E #0E4112
monochromatic
#110519 #110519 #2C0E41 #4E1973 #7024A6

Accessibility & contrast

On white

16.85
#2C0E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C0E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E41
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E41#FFFFFF#000000##FFFFFF
##2C0E411.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#031D40
Tritanopia (blue-blind)
#291926
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0e41;
/* rgb */ color: rgb(44, 14, 65);
/* oklch */ color: oklch(24.2% 0.093 307.8);
Tailwind
colors: {
  custom: {
    50: '#684f76',
    500: '#2c0e41',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e41;
$custom-light: #684f76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e41",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 275.294,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24236,
    "c": 0.09333,
    "h": 307.8
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#2C0E41
secondary
#4F7C2F
accent
#E84085
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0E41

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

Preview Lab → · Contrast checker → · Palette generator →

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