#2C113B#2C113B

#2C113B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.2% C 0.081 H 311.5°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2C113B
RGBrgb(44, 17, 59)
HSLhsl(279, 55%, 15%)
HSVhsv(279, 71%, 23%)
CMYKcmyk(25.4%, 71.2%, 0%, 76.9%)
CIE-LABlab(10.94, 22.58, -21.52)
CIE-LCHlch(10.94, 31.19, 316.38°)
OKLaboklab(24.19% 0.0535 -0.0605)
OKLCHoklch(24.19% 0.081 311.5)
XYZxyz(2.0284, 1.2522, 4.2717)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C113B #203B11
analogous
#17113B #2C113B #3B1135
triadic
#2C113B #3B2C11 #113B2C
tetradic
#2C113B #3B1711 #203B11 #11353B
square
#2C113B #3B1711 #203B11 #11353B
split-complementary
#2C113B #353B11 #113B17
monochromatic
#120718 #120718 #2C113B #4F1F6B #732C9A

Accessibility & contrast

On white

16.79
#2C113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C113B
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C113B#FFFFFF#000000##FFFFFF
##2C113B1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#0D1E3A
Tritanopia (blue-blind)
#2A1924
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c113b;
/* rgb */ color: rgb(44, 17, 59);
/* oklch */ color: oklch(24.2% 0.081 311.5);
Tailwind
colors: {
  custom: {
    50: '#675171',
    500: '#2c113b',
    950: '#000000',
  },
}
SCSS
$custom: #2c113b;
$custom-light: #675171;
$custom-dark: #000000;
JSON
{
  "hex": "#2c113b",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 278.571,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24193,
    "c": 0.0808,
    "h": 311.5
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#2C113B
secondary
#4B7433
accent
#DF497F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C113B

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

Preview Lab → · Contrast checker → · Palette generator →

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