#2C1450#2C1450

#2C1450 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.104 H 297.1°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#2C1450
RGBrgb(44, 20, 80)
HSLhsl(264, 60%, 20%)
HSVhsv(264, 75%, 31%)
CMYKcmyk(45%, 75%, 0%, 68.6%)
CIE-LABlab(13.32, 26.86, -32.35)
CIE-LCHlch(13.32, 42.05, 309.71°)
OKLaboklab(26.46% 0.0472 -0.0924)
OKLCHoklch(26.46% 0.104 297.1)
XYZxyz(2.7365, 1.6149, 7.7554)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1450 #385014
analogous
#141A50 #2C1450 #4A1450
triadic
#2C1450 #502C14 #14502C
tetradic
#2C1450 #50141A #385014 #14504A
square
#2C1450 #50141A #385014 #14504A
split-complementary
#2C1450 #504A14 #1A5014
monochromatic
#0D0618 #11081F #2C1450 #472081 #622CB2

Accessibility & contrast

On white

15.87
#2C1450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2C1450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1450
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1450#FFFFFF#000000##FFFFFF
##2C14501.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#232230
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c1450;
/* rgb */ color: rgb(44, 20, 80);
/* oklch */ color: oklch(26.5% 0.104 297.1);
Tailwind
colors: {
  custom: {
    50: '#695382',
    500: '#2c1450',
    950: '#000000',
  },
}
SCSS
$custom: #2c1450;
$custom-light: #695382;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1450",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 264,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26458,
    "c": 0.10374,
    "h": 297.1
  },
  "luminance": 0.01615
}

Semantic roles & 50–950 ramp

primary
#2C1450
secondary
#688838
accent
#E345A4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C1450

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

Preview Lab → · Contrast checker → · Palette generator →

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