#2C2153#2C2153

#2C2153 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.0% C 0.087 H 290.0°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#2C2153
RGBrgb(44, 33, 83)
HSLhsl(253, 43%, 23%)
HSVhsv(253, 60%, 33%)
CMYKcmyk(47%, 60.2%, 0%, 67.5%)
CIE-LABlab(16.74, 19.39, -28.87)
CIE-LCHlch(16.74, 34.77, 303.89°)
OKLaboklab(29.02% 0.0299 -0.0821)
OKLCHoklch(29.02% 0.087 290)
XYZxyz(3.1435, 2.2476, 8.4501)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2153 #485321
analogous
#212F53 #2C2153 #452153
triadic
#2C2153 #532C21 #21532C
tetradic
#2C2153 #53212F #485321 #215345
square
#2C2153 #53212F #485321 #215345
split-complementary
#2C2153 #534521 #2F5321
monochromatic
#0C0916 #151027 #2C2153 #43327F #5A44AB

Accessibility & contrast

On white

14.49
#2C2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2C2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2153
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2153#FFFFFF#000000##FFFFFF
##2C21531.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A55
Deuteranopia (green-blind)
#092852
Tritanopia (blue-blind)
#212C36
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c2153;
/* rgb */ color: rgb(44, 33, 83);
/* oklch */ color: oklch(29.0% 0.087 290.0);
Tailwind
colors: {
  custom: {
    50: '#685c84',
    500: '#2c2153',
    950: '#000000',
  },
}
SCSS
$custom: #2c2153;
$custom-light: #685c84;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2153",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 253.2,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29023,
    "c": 0.08742,
    "h": 290
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#2C2153
secondary
#798749
accent
#D355B7
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #2C2153

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

Preview Lab → · Contrast checker → · Palette generator →

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