#2C1669#2C1669

#2C1669 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.134 H 287.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#2C1669
RGBrgb(44, 22, 105)
HSLhsl(256, 65%, 25%)
HSVhsv(256, 79%, 41%)
CMYKcmyk(58.1%, 79%, 0%, 58.8%)
CIE-LABlab(16.15, 33.50, -44.47)
CIE-LCHlch(16.15, 55.68, 307.00°)
OKLaboklab(29.21% 0.0392 -0.1279)
OKLCHoklch(29.21% 0.134 287)
XYZxyz(3.8747, 2.1290, 13.5686)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1669 #536916
analogous
#162969 #2C1669 #561669
triadic
#2C1669 #692C16 #16692C
tetradic
#2C1669 #691629 #536916 #166956
square
#2C1669 #691629 #536916 #166956
split-complementary
#2C1669 #695616 #296916
monochromatic
#0B0519 #170B36 #2C1669 #41219C #562BCE

Accessibility & contrast

On white

14.73
#2C1669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2C1669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1669
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1669#FFFFFF#000000##FFFFFF
##2C16691.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#112D3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c1669;
/* rgb */ color: rgb(44, 22, 105);
/* oklch */ color: oklch(29.2% 0.134 287.0);
Tailwind
colors: {
  custom: {
    50: '#6d5695',
    500: '#2c1669',
    950: '#000000',
  },
}
SCSS
$custom: #2c1669;
$custom-light: #6d5695;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1669",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 255.904,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.2921,
    "c": 0.13381,
    "h": 287
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#2C1669
secondary
#859F3B
accent
#E83FBC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2C1669

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

Preview Lab → · Contrast checker → · Palette generator →

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