#2C1464#2C1464

#2C1464 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.130 H 289.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#2C1464
RGBrgb(44, 20, 100)
HSLhsl(258, 67%, 24%)
HSVhsv(258, 80%, 39%)
CMYKcmyk(56%, 80%, 0%, 60.8%)
CIE-LABlab(15.25, 33.02, -42.65)
CIE-LCHlch(15.25, 53.94, 307.75°)
OKLaboklab(28.42% 0.0423 -0.1226)
OKLCHoklch(28.42% 0.13 289)
XYZxyz(3.5884, 1.9557, 12.2425)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1464 #4C6414
analogous
#142464 #2C1464 #541464
triadic
#2C1464 #642C14 #14642C
tetradic
#2C1464 #641424 #4C6414 #146454
square
#2C1464 #641424 #4C6414 #146454
split-complementary
#2C1464 #645414 #246414
monochromatic
#0B051A #160A31 #2C1464 #421E97 #5928CA

Accessibility & contrast

On white

15.09
#2C1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2C1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1464
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1464#FFFFFF#000000##FFFFFF
##2C14641.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#172A3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2c1464;
/* rgb */ color: rgb(44, 20, 100);
/* oklch */ color: oklch(28.4% 0.130 289.0);
Tailwind
colors: {
  custom: {
    50: '#6c5491',
    500: '#2c1464',
    950: '#000000',
  },
}
SCSS
$custom: #2c1464;
$custom-light: #6c5491;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1464",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 258,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28422,
    "c": 0.12969,
    "h": 289
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#2C1464
secondary
#7E9B38
accent
#EA3EB6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #2C1464

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

Preview Lab → · Contrast checker → · Palette generator →

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