#2C203C#2C203C

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

Color values

HEX#2C203C
RGBrgb(44, 32, 60)
HSLhsl(266, 30%, 18%)
HSVhsv(266, 47%, 24%)
CMYKcmyk(26.7%, 46.7%, 0%, 76.5%)
CIE-LABlab(14.92, 12.79, -15.91)
CIE-LCHlch(14.92, 20.41, 308.81°)
OKLaboklab(27.17% 0.0285 -0.0443)
OKLCHoklch(27.17% 0.053 302.8)
XYZxyz(2.3707, 1.8947, 4.5149)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C203C #303C20
analogous
#20223C #2C203C #3A203C
triadic
#2C203C #3C2C20 #203C2C
tetradic
#2C203C #3C2022 #303C20 #203C3A
square
#2C203C #3C2022 #303C20 #203C3A
split-complementary
#2C203C #3C3A20 #223C20
monochromatic
#0F0B14 #0F0B14 #2C203C #493564 #674B8C

Accessibility & contrast

On white

15.23
#2C203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2C203C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C203C
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C203C#FFFFFF#000000##FFFFFF
##2C203C1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19253D
Deuteranopia (green-blind)
#1C253B
Tritanopia (blue-blind)
#29252B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2c203c;
/* rgb */ color: rgb(44, 32, 60);
/* oklch */ color: oklch(27.2% 0.053 302.8);
Tailwind
colors: {
  custom: {
    50: '#665b72',
    500: '#2c203c',
    950: '#000000',
  },
}
SCSS
$custom: #2c203c;
$custom-light: #665b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2c203c",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 265.714,
    "s": 30.435,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27173,
    "c": 0.05268,
    "h": 302.8
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#2C203C
secondary
#5F6F48
accent
#C7619B
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2C203C

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

Preview Lab → · Contrast checker → · Palette generator →

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