#2C1885#2C1885

#2C1885 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.167 H 280.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#2C1885
RGBrgb(44, 24, 133)
HSLhsl(251, 69%, 31%)
HSVhsv(251, 82%, 52%)
CMYKcmyk(66.9%, 82%, 0%, 47.8%)
CIE-LABlab(19.56, 41.24, -56.83)
CIE-LCHlch(19.56, 70.22, 305.97°)
OKLaboklab(32.51% 0.0293 -0.1641)
OKLCHoklch(32.51% 0.167 280.1)
XYZxyz(5.5976, 2.8817, 22.4470)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1885 #718518
analogous
#183A85 #2C1885 #621885
triadic
#2C1885 #852C18 #18852C
tetradic
#2C1885 #85183A #718518 #188562
square
#2C1885 #85183A #718518 #188562
split-complementary
#2C1885 #856218 #3A8518
monochromatic
#0A051D #1B0F51 #2C1885 #3D21B9 #593CDC

Accessibility & contrast

On white

13.32
#2C1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1885
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1885#FFFFFF#000000##FFFFFF
##2C18851.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c1885;
/* rgb */ color: rgb(44, 24, 133);
/* oklch */ color: oklch(32.5% 0.167 280.1);
Tailwind
colors: {
  custom: {
    50: '#7359aa',
    500: '#2c1885',
    950: '#000000',
  },
}
SCSS
$custom: #2c1885;
$custom-light: #7359aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1885",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 251.009,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32507,
    "c": 0.16666,
    "h": 280.1
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#2C1885
secondary
#A3B940
accent
#EC3CCC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1885

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

Preview Lab → · Contrast checker → · Palette generator →

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