#2C203A#2C203A

#2C203A is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.1% C 0.049 H 304.5°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#2C203A
RGBrgb(44, 32, 58)
HSLhsl(268, 29%, 18%)
HSVhsv(268, 45%, 23%)
CMYKcmyk(24.1%, 44.8%, 0%, 77.3%)
CIE-LABlab(14.81, 12.21, -14.68)
CIE-LCHlch(14.81, 19.09, 309.75°)
OKLaboklab(27.05% 0.028 -0.0407)
OKLCHoklch(27.05% 0.049 304.5)
XYZxyz(2.3188, 1.8740, 4.2417)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C203A #2E3A20
analogous
#20213A #2C203A #39203A
triadic
#2C203A #3A2C20 #203A2C
tetradic
#2C203A #3A2021 #2E3A20 #203A39
square
#2C203A #3A2021 #2E3A20 #203A39
split-complementary
#2C203A #3A3920 #213A20
monochromatic
#0F0B14 #0F0B14 #2C203A #4A3661 #684C89

Accessibility & contrast

On white

15.27
#2C203A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C203A
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C203A#FFFFFF#000000##FFFFFF
##2C203A1.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253B
Deuteranopia (green-blind)
#1D2539
Tritanopia (blue-blind)
#2A242A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c203a;
/* rgb */ color: rgb(44, 32, 58);
/* oklch */ color: oklch(27.1% 0.049 304.5);
Tailwind
colors: {
  custom: {
    50: '#655b70',
    500: '#2c203a',
    950: '#000000',
  },
}
SCSS
$custom: #2c203a;
$custom-light: #655b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c203a",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 58
  },
  "hsl": {
    "h": 267.692,
    "s": 28.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2705,
    "c": 0.04944,
    "h": 304.5
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#2C203A
secondary
#5C6D49
accent
#C56398
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2C203A

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

Preview Lab → · Contrast checker → · Palette generator →

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