#2C1490#2C1490

#2C1490 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.4% C 0.183 H 278.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2C1490
RGBrgb(44, 20, 144)
HSLhsl(252, 76%, 32%)
HSVhsv(252, 86%, 56%)
CMYKcmyk(69.4%, 86.1%, 0%, 43.5%)
CIE-LABlab(20.24, 46.38, -62.60)
CIE-LCHlch(20.24, 77.91, 306.53°)
OKLaboklab(33.35% 0.0275 -0.1808)
OKLCHoklch(33.35% 0.183 278.7)
XYZxyz(6.3213, 3.0489, 26.6355)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1490 #789014
analogous
#143A90 #2C1490 #6A1490
triadic
#2C1490 #902C14 #14902C
tetradic
#2C1490 #90143A #789014 #14906A
square
#2C1490 #90143A #789014 #14906A
split-complementary
#2C1490 #906A14 #3A9014
monochromatic
#0B0525 #1C0D5A #2C1490 #3C1BC6 #5B3BE4

Accessibility & contrast

On white

13.05
#2C1490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C1490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1490
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1490#FFFFFF#000000##FFFFFF
##2C14901.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1490;
/* rgb */ color: rgb(44, 20, 144);
/* oklch */ color: oklch(33.4% 0.183 278.7);
Tailwind
colors: {
  custom: {
    50: '#7658b2',
    500: '#2c1490',
    950: '#000000',
  },
}
SCSS
$custom: #2c1490;
$custom-light: #7658b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1490",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 251.613,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3335,
    "c": 0.18286,
    "h": 278.7
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#2C1490
secondary
#A9C33D
accent
#F236CE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #2C1490

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

Preview Lab → · Contrast checker → · Palette generator →

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