#2C2155#2C2155

#2C2155 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.2% C 0.090 H 289.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#2C2155
RGBrgb(44, 33, 85)
HSLhsl(253, 44%, 23%)
HSVhsv(253, 61%, 33%)
CMYKcmyk(48.2%, 61.2%, 0%, 66.7%)
CIE-LABlab(16.89, 20.06, -29.97)
CIE-LCHlch(16.89, 36.07, 303.79°)
OKLaboklab(29.18% 0.0299 -0.0854)
OKLCHoklch(29.18% 0.09 289.3)
XYZxyz(3.2218, 2.2789, 8.8627)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2155 #4A5521
analogous
#213055 #2C2155 #462155
triadic
#2C2155 #552C21 #21552C
tetradic
#2C2155 #552130 #4A5521 #215546
square
#2C2155 #552130 #4A5521 #215546
split-complementary
#2C2155 #554621 #305521
monochromatic
#0B0916 #151029 #2C2155 #433281 #5A43AD

Accessibility & contrast

On white

14.43
#2C2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2C2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2155
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2155#FFFFFF#000000##FFFFFF
##2C21551.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B57
Deuteranopia (green-blind)
#052854
Tritanopia (blue-blind)
#202C37
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c2155;
/* rgb */ color: rgb(44, 33, 85);
/* oklch */ color: oklch(29.2% 0.090 289.3);
Tailwind
colors: {
  custom: {
    50: '#695c85',
    500: '#2c2155',
    950: '#000000',
  },
}
SCSS
$custom: #2c2155;
$custom-light: #695c85;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2155",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 252.692,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29183,
    "c": 0.09049,
    "h": 289.3
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#2C2155
secondary
#7C8949
accent
#D454B9
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #2C2155

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

Preview Lab → · Contrast checker → · Palette generator →

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