#2C1466#2C1466

#2C1466 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.132 H 288.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#2C1466
RGBrgb(44, 20, 102)
HSLhsl(258, 67%, 24%)
HSVhsv(258, 80%, 40%)
CMYKcmyk(56.9%, 80.4%, 0%, 60%)
CIE-LABlab(15.46, 33.64, -43.63)
CIE-LCHlch(15.46, 55.09, 307.64°)
OKLaboklab(28.63% 0.0417 -0.1255)
OKLCHoklch(28.63% 0.132 288.4)
XYZxyz(3.6864, 1.9949, 12.7586)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1466 #4E6614
analogous
#142566 #2C1466 #551466
triadic
#2C1466 #662C14 #14662C
tetradic
#2C1466 #661425 #4E6614 #146655
square
#2C1466 #661425 #4E6614 #146655
split-complementary
#2C1466 #665514 #256614
monochromatic
#0B051A #160A33 #2C1466 #421E99 #5828CC

Accessibility & contrast

On white

15.01
#2C1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1466
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1466#FFFFFF#000000##FFFFFF
##2C14661.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#152B3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c1466;
/* rgb */ color: rgb(44, 20, 102);
/* oklch */ color: oklch(28.6% 0.132 288.4);
Tailwind
colors: {
  custom: {
    50: '#6d5592',
    500: '#2c1466',
    950: '#000000',
  },
}
SCSS
$custom: #2c1466;
$custom-light: #6d5592;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1466",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 257.561,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28631,
    "c": 0.13222,
    "h": 288.4
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#2C1466
secondary
#809D39
accent
#EA3EB8
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2C1466

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

Preview Lab → · Contrast checker → · Palette generator →

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