#2C1667#2C1667

#2C1667 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.131 H 287.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2C1667
RGBrgb(44, 22, 103)
HSLhsl(256, 65%, 25%)
HSVhsv(256, 79%, 40%)
CMYKcmyk(57.3%, 78.6%, 0%, 59.6%)
CIE-LABlab(15.94, 32.87, -43.49)
CIE-LCHlch(15.94, 54.52, 307.08°)
OKLaboklab(29% 0.0397 -0.1251)
OKLCHoklch(29% 0.131 287.6)
XYZxyz(3.7731, 2.0884, 13.0336)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1667 #516716
analogous
#162967 #2C1667 #551667
triadic
#2C1667 #672C16 #16672C
tetradic
#2C1667 #671629 #516716 #166755
square
#2C1667 #671629 #516716 #166755
split-complementary
#2C1667 #675516 #296716
monochromatic
#0B0519 #160B35 #2C1667 #422199 #572CCC

Accessibility & contrast

On white

14.81
#2C1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1667
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1667#FFFFFF#000000##FFFFFF
##2C16671.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#142C3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c1667;
/* rgb */ color: rgb(44, 22, 103);
/* oklch */ color: oklch(29.0% 0.131 287.6);
Tailwind
colors: {
  custom: {
    50: '#6d5693',
    500: '#2c1667',
    950: '#000000',
  },
}
SCSS
$custom: #2c1667;
$custom-light: #6d5693;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1667",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 256.296,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29002,
    "c": 0.13124,
    "h": 287.6
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#2C1667
secondary
#839E3B
accent
#E840BA
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2C1667

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

Preview Lab → · Contrast checker → · Palette generator →

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