#2C1060#2C1060

#2C1060 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.129 H 291.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#2C1060
RGBrgb(44, 16, 96)
HSLhsl(261, 71%, 22%)
HSVhsv(261, 83%, 38%)
CMYKcmyk(54.2%, 83.3%, 0%, 62.4%)
CIE-LABlab(14.12, 33.86, -41.85)
CIE-LCHlch(14.12, 53.84, 308.98°)
OKLaboklab(27.5% 0.0469 -0.1202)
OKLCHoklch(27.5% 0.129 291.3)
XYZxyz(3.3347, 1.7504, 11.2262)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1060 #446010
analogous
#101C60 #2C1060 #541060
triadic
#2C1060 #602C10 #10602C
tetradic
#2C1060 #60101C #446010 #106054
square
#2C1060 #60101C #446010 #106054
split-complementary
#2C1060 #605410 #1C6010
monochromatic
#0C041A #14072C #2C1060 #441994 #5C21C9

Accessibility & contrast

On white

15.55
#2C1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2C1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1060
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1060#FFFFFF#000000##FFFFFF
##2C10601.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#1A2738
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2c1060;
/* rgb */ color: rgb(44, 16, 96);
/* oklch */ color: oklch(27.5% 0.129 291.3);
Tailwind
colors: {
  custom: {
    50: '#6c528e',
    500: '#2c1060',
    950: '#000000',
  },
}
SCSS
$custom: #2c1060;
$custom-light: #6c528e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1060",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 261,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27502,
    "c": 0.12907,
    "h": 291.3
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#2C1060
secondary
#759933
accent
#EE3AAF
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2C1060

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

Preview Lab → · Contrast checker → · Palette generator →

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