#2C1690#2C1690

#2C1690 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.181 H 278.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2C1690
RGBrgb(44, 22, 144)
HSLhsl(251, 73%, 33%)
HSVhsv(251, 85%, 56%)
CMYKcmyk(69.4%, 84.7%, 0%, 43.5%)
CIE-LABlab(20.53, 45.52, -62.12)
CIE-LCHlch(20.53, 77.02, 306.23°)
OKLaboklab(33.55% 0.0267 -0.1794)
OKLCHoklch(33.55% 0.181 278.5)
XYZxyz(6.3580, 3.1224, 26.6478)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1690 #7A9016
analogous
#163D90 #2C1690 #691690
triadic
#2C1690 #902C16 #16902C
tetradic
#2C1690 #90163D #7A9016 #169069
square
#2C1690 #90163D #7A9016 #169069
split-complementary
#2C1690 #906916 #3D9016
monochromatic
#0C0626 #1C0E5B #2C1690 #3C1EC5 #5C3FE2

Accessibility & contrast

On white

12.93
#2C1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1690
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1690#FFFFFF#000000##FFFFFF
##2C16901.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1690;
/* rgb */ color: rgb(44, 22, 144);
/* oklch */ color: oklch(33.5% 0.181 278.5);
Tailwind
colors: {
  custom: {
    50: '#7559b2',
    500: '#2c1690',
    950: '#000000',
  },
}
SCSS
$custom: #2c1690;
$custom-light: #7559b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1690",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 250.82,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33548,
    "c": 0.1814,
    "h": 278.5
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#2C1690
secondary
#AAC240
accent
#F038CF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1690

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

Preview Lab → · Contrast checker → · Palette generator →

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