#2C1685#2C1685

#2C1685 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.168 H 280.4°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#2C1685
RGBrgb(44, 22, 133)
HSLhsl(252, 72%, 30%)
HSVhsv(252, 83%, 52%)
CMYKcmyk(66.9%, 83.5%, 0%, 47.8%)
CIE-LABlab(19.23, 42.20, -57.38)
CIE-LCHlch(19.23, 71.22, 306.33°)
OKLaboklab(32.28% 0.0304 -0.1656)
OKLCHoklch(32.28% 0.168 280.4)
XYZxyz(5.5579, 2.8023, 22.4338)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1685 #6F8516
analogous
#163785 #2C1685 #631685
triadic
#2C1685 #852C16 #16852C
tetradic
#2C1685 #851637 #6F8516 #168563
square
#2C1685 #851637 #6F8516 #168563
split-complementary
#2C1685 #856316 #378516
monochromatic
#09051C #1B0D50 #2C1685 #3D1FBA #5837DE

Accessibility & contrast

On white

13.46
#2C1685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2C1685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1685
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1685#FFFFFF#000000##FFFFFF
##2C16851.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c1685;
/* rgb */ color: rgb(44, 22, 133);
/* oklch */ color: oklch(32.3% 0.168 280.4);
Tailwind
colors: {
  custom: {
    50: '#7358aa',
    500: '#2c1685',
    950: '#000000',
  },
}
SCSS
$custom: #2c1685;
$custom-light: #7358aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1685",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 251.892,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32279,
    "c": 0.16838,
    "h": 280.4
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#2C1685
secondary
#A1B93E
accent
#EE39CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #2C1685

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

Preview Lab → · Contrast checker → · Palette generator →

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