#2C1693#2C1693

#2C1693 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.185 H 278.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#2C1693
RGBrgb(44, 22, 147)
HSLhsl(251, 74%, 33%)
HSVhsv(251, 85%, 58%)
CMYKcmyk(70.1%, 85%, 0%, 42.4%)
CIE-LABlab(20.89, 46.42, -63.39)
CIE-LCHlch(20.89, 78.57, 306.21°)
OKLaboklab(33.9% 0.0257 -0.1831)
OKLCHoklch(33.9% 0.185 278)
XYZxyz(6.5904, 3.2153, 27.8714)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1693 #7D9316
analogous
#163E93 #2C1693 #6A1693
triadic
#2C1693 #932C16 #16932C
tetradic
#2C1693 #93163E #7D9316 #16936A
square
#2C1693 #93163E #7D9316 #16936A
split-complementary
#2C1693 #936A16 #3E9316
monochromatic
#0C0629 #1C0E5E #2C1693 #3C1EC8 #5D41E3

Accessibility & contrast

On white

12.78
#2C1693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2C1693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1693
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1693#FFFFFF#000000##FFFFFF
##2C16931.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002D91
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c1693;
/* rgb */ color: rgb(44, 22, 147);
/* oklch */ color: oklch(33.9% 0.185 278.0);
Tailwind
colors: {
  custom: {
    50: '#7659b4',
    500: '#2c1693',
    950: '#000000',
  },
}
SCSS
$custom: #2c1693;
$custom-light: #7659b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1693",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 250.56,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33899,
    "c": 0.1849,
    "h": 278
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#2C1693
secondary
#ACC342
accent
#F137D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1693

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

Preview Lab → · Contrast checker → · Palette generator →

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