#2C113D#2C113D

#2C113D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.083 H 309.9°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2C113D
RGBrgb(44, 17, 61)
HSLhsl(277, 56%, 15%)
HSVhsv(277, 72%, 24%)
CMYKcmyk(27.9%, 72.1%, 0%, 76.1%)
CIE-LABlab(11.09, 23.13, -22.70)
CIE-LCHlch(11.09, 32.41, 315.53°)
OKLaboklab(24.35% 0.0534 -0.064)
OKLCHoklch(24.35% 0.083 309.9)
XYZxyz(2.0813, 1.2733, 4.5501)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C113D #223D11
analogous
#16113D #2C113D #3D1138
triadic
#2C113D #3D2C11 #113D2C
tetradic
#2C113D #3D1611 #223D11 #11383D
square
#2C113D #3D1611 #223D11 #11383D
split-complementary
#2C113D #383D11 #113D16
monochromatic
#110718 #110718 #2C113D #4F1E6D #712C9D

Accessibility & contrast

On white

16.74
#2C113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C113D
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C113D#FFFFFF#000000##FFFFFF
##2C113D1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3E
Deuteranopia (green-blind)
#0B1E3C
Tritanopia (blue-blind)
#2A1A25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c113d;
/* rgb */ color: rgb(44, 17, 61);
/* oklch */ color: oklch(24.4% 0.083 309.9);
Tailwind
colors: {
  custom: {
    50: '#675173',
    500: '#2c113d',
    950: '#000000',
  },
}
SCSS
$custom: #2c113d;
$custom-light: #675173;
$custom-dark: #000000;
JSON
{
  "hex": "#2c113d",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 276.818,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24351,
    "c": 0.08339,
    "h": 309.9
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#2C113D
secondary
#4D7633
accent
#E04883
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C113D

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

Preview Lab → · Contrast checker → · Palette generator →

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