#2C2244#2C2244

#2C2244 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.1% C 0.062 H 295.7°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#2C2244
RGBrgb(44, 34, 68)
HSLhsl(258, 33%, 20%)
HSVhsv(258, 50%, 27%)
CMYKcmyk(35.3%, 50%, 0%, 73.3%)
CIE-LABlab(15.99, 13.81, -19.81)
CIE-LCHlch(15.99, 24.15, 304.89°)
OKLaboklab(28.13% 0.0268 -0.0556)
OKLCHoklch(28.13% 0.062 295.7)
XYZxyz(2.6539, 2.0968, 5.7326)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2244 #3A4422
analogous
#222944 #2C2244 #3D2244
triadic
#2C2244 #442C22 #22442C
tetradic
#2C2244 #442229 #3A4422 #22443D
square
#2C2244 #442229 #3A4422 #22443D
split-complementary
#2C2244 #443D22 #294422
monochromatic
#0D0A14 #120E1B #2C2244 #46366D #614B96

Accessibility & contrast

On white

14.79
#2C2244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2C2244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2244
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2244#FFFFFF#000000##FFFFFF
##2C22441.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172845
Deuteranopia (green-blind)
#192743
Tritanopia (blue-blind)
#27282F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c2244;
/* rgb */ color: rgb(44, 34, 68);
/* oklch */ color: oklch(28.1% 0.062 295.7);
Tailwind
colors: {
  custom: {
    50: '#665d78',
    500: '#2c2244',
    950: '#000000',
  },
}
SCSS
$custom: #2c2244;
$custom-light: #665d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2244",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 68
  },
  "hsl": {
    "h": 257.647,
    "s": 33.333,
    "l": 20
  },
  "oklch": {
    "l": 0.28131,
    "c": 0.06173,
    "h": 295.7
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#2C2244
secondary
#6A784A
accent
#C95EAA
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2C2244

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

Preview Lab → · Contrast checker → · Palette generator →

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