#2C1369#2C1369

#2C1369 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.137 H 287.7°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#2C1369
RGBrgb(44, 19, 105)
HSLhsl(257, 69%, 24%)
HSVhsv(257, 82%, 41%)
CMYKcmyk(58.1%, 81.9%, 0%, 58.8%)
CIE-LABlab(15.60, 35.09, -45.38)
CIE-LCHlch(15.60, 57.36, 307.71°)
OKLaboklab(28.82% 0.0416 -0.1306)
OKLCHoklch(28.82% 0.137 287.7)
XYZxyz(3.8206, 2.0209, 13.5506)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1369 #506913
analogous
#132569 #2C1369 #571369
triadic
#2C1369 #692C13 #13692C
tetradic
#2C1369 #691325 #506913 #136957
square
#2C1369 #691325 #506913 #136957
split-complementary
#2C1369 #695713 #256913
monochromatic
#0B051A #160A35 #2C1369 #421C9D #5726D1

Accessibility & contrast

On white

14.96
#2C1369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2C1369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1369
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1369#FFFFFF#000000##FFFFFF
##2C13691.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#122C3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c1369;
/* rgb */ color: rgb(44, 19, 105);
/* oklch */ color: oklch(28.8% 0.137 287.7);
Tailwind
colors: {
  custom: {
    50: '#6d5495',
    500: '#2c1369',
    950: '#000000',
  },
}
SCSS
$custom: #2c1369;
$custom-light: #6d5495;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1369",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 257.442,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28822,
    "c": 0.13704,
    "h": 287.7
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#2C1369
secondary
#82A038
accent
#EC3CB9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2C1369

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

Preview Lab → · Contrast checker → · Palette generator →

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