#2C133A#2C133A

#2C133A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.076 H 311.7°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#2C133A
RGBrgb(44, 19, 58)
HSLhsl(278, 51%, 15%)
HSVhsv(278, 67%, 23%)
CMYKcmyk(24.1%, 67.2%, 0%, 77.3%)
CIE-LABlab(11.32, 21.07, -20.18)
CIE-LCHlch(11.32, 29.18, 316.23°)
OKLaboklab(24.45% 0.0504 -0.0567)
OKLCHoklch(24.45% 0.076 311.7)
XYZxyz(2.0352, 1.3068, 4.1472)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C133A #213A13
analogous
#19133A #2C133A #3A1334
triadic
#2C133A #3A2C13 #133A2C
tetradic
#2C133A #3A1913 #213A13 #13343A
square
#2C133A #3A1913 #213A13 #13343A
split-complementary
#2C133A #343A13 #133A19
monochromatic
#110817 #110817 #2C133A #4F2268 #723196

Accessibility & contrast

On white

16.65
#2C133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C133A
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C133A#FFFFFF#000000##FFFFFF
##2C133A1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3B
Deuteranopia (green-blind)
#101F39
Tritanopia (blue-blind)
#2A1A24
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c133a;
/* rgb */ color: rgb(44, 19, 58);
/* oklch */ color: oklch(24.5% 0.076 311.7);
Tailwind
colors: {
  custom: {
    50: '#675270',
    500: '#2c133a',
    950: '#000000',
  },
}
SCSS
$custom: #2c133a;
$custom-light: #675270;
$custom-dark: #000000;
JSON
{
  "hex": "#2c133a",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 278.462,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24451,
    "c": 0.07584,
    "h": 311.7
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#2C133A
secondary
#4C7236
accent
#DA4E80
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C133A

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

Preview Lab → · Contrast checker → · Palette generator →

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