#2C1590#2C1590

#2C1590 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.182 H 278.6°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2C1590
RGBrgb(44, 21, 144)
HSLhsl(251, 75%, 32%)
HSVhsv(251, 85%, 56%)
CMYKcmyk(69.4%, 85.4%, 0%, 43.5%)
CIE-LABlab(20.38, 45.96, -62.37)
CIE-LCHlch(20.38, 77.47, 306.39°)
OKLaboklab(33.45% 0.0271 -0.1801)
OKLCHoklch(33.45% 0.182 278.6)
XYZxyz(6.3393, 3.0849, 26.6415)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1590 #799015
analogous
#153B90 #2C1590 #6A1590
triadic
#2C1590 #902C15 #15902C
tetradic
#2C1590 #90153B #799015 #15906A
square
#2C1590 #90153B #799015 #15906A
split-complementary
#2C1590 #906A15 #3B9015
monochromatic
#0B0525 #1C0D5B #2C1590 #3C1DC5 #5C3DE3

Accessibility & contrast

On white

12.99
#2C1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1590
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1590#FFFFFF#000000##FFFFFF
##2C15901.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1590;
/* rgb */ color: rgb(44, 21, 144);
/* oklch */ color: oklch(33.4% 0.182 278.6);
Tailwind
colors: {
  custom: {
    50: '#7558b2',
    500: '#2c1590',
    950: '#000000',
  },
}
SCSS
$custom: #2c1590;
$custom-light: #7558b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1590",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 251.22,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33448,
    "c": 0.18214,
    "h": 278.6
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#2C1590
secondary
#AAC23E
accent
#F137CE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1590

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

Preview Lab → · Contrast checker → · Palette generator →

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