#2C2234#2C2234

#2C2234 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.2% C 0.035 H 309.5°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#2C2234
RGBrgb(44, 34, 52)
HSLhsl(273, 21%, 17%)
HSVhsv(273, 35%, 20%)
CMYKcmyk(15.4%, 34.6%, 0%, 79.6%)
CIE-LABlab(15.10, 9.09, -9.98)
CIE-LCHlch(15.10, 13.50, 312.32°)
OKLaboklab(27.17% 0.0225 -0.0273)
OKLCHoklch(27.17% 0.035 309.5)
XYZxyz(2.2305, 1.9275, 3.5027)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2234 #2A3422
analogous
#232234 #2C2234 #342233
triadic
#2C2234 #342C22 #22342C
tetradic
#2C2234 #342322 #2A3422 #223334
square
#2C2234 #342322 #2A3422 #223334
split-complementary
#2C2234 #333422 #223423
monochromatic
#100C13 #100C13 #2C2234 #4B3A59 #6B527E

Accessibility & contrast

On white

15.16
#2C2234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2C2234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2234
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2234#FFFFFF#000000##FFFFFF
##2C22341.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2535
Deuteranopia (green-blind)
#212633
Tritanopia (blue-blind)
#2B2428
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2c2234;
/* rgb */ color: rgb(44, 34, 52);
/* oklch */ color: oklch(27.2% 0.035 309.5);
Tailwind
colors: {
  custom: {
    50: '#655d6b',
    500: '#2c2234',
    950: '#000000',
  },
}
SCSS
$custom: #2c2234;
$custom-light: #655d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2234",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 273.333,
    "s": 20.93,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27168,
    "c": 0.0354,
    "h": 309.5
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#2C2234
secondary
#57664C
accent
#BD6A8F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C2234

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

Preview Lab → · Contrast checker → · Palette generator →

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