#2C2038#2C2038

#2C2038 is a dark, muted violet. Relative luminance 0.019; OKLCH L 26.9% C 0.046 H 306.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#2C2038
RGBrgb(44, 32, 56)
HSLhsl(270, 27%, 17%)
HSVhsv(270, 43%, 22%)
CMYKcmyk(21.4%, 42.9%, 0%, 78%)
CIE-LABlab(14.70, 11.63, -13.44)
CIE-LCHlch(14.70, 17.77, 310.89°)
OKLaboklab(26.93% 0.0275 -0.0372)
OKLCHoklch(26.93% 0.046 306.5)
XYZxyz(2.2689, 1.8540, 3.9790)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2038 #2C3820
analogous
#202038 #2C2038 #382038
triadic
#2C2038 #382C20 #20382C
tetradic
#2C2038 #382020 #2C3820 #203838
square
#2C2038 #382020 #2C3820 #203838
split-complementary
#2C2038 #383820 #203820
monochromatic
#0F0B13 #0F0B13 #2C2038 #4B365F #694D86

Accessibility & contrast

On white

15.32
#2C2038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2C2038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2038
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2038#FFFFFF#000000##FFFFFF
##2C20381.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2539
Deuteranopia (green-blind)
#1E2537
Tritanopia (blue-blind)
#2A2429
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c2038;
/* rgb */ color: rgb(44, 32, 56);
/* oklch */ color: oklch(26.9% 0.046 306.5);
Tailwind
colors: {
  custom: {
    50: '#655b6e',
    500: '#2c2038',
    950: '#000000',
  },
}
SCSS
$custom: #2c2038;
$custom-light: #655b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2038",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 270,
    "s": 27.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2693,
    "c": 0.04622,
    "h": 306.5
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#2C2038
secondary
#5A6B49
accent
#C46494
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C2038

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

Preview Lab → · Contrast checker → · Palette generator →

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