#2C1550#2C1550

#2C1550 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.6% C 0.102 H 296.7°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#2C1550
RGBrgb(44, 21, 80)
HSLhsl(263, 58%, 20%)
HSVhsv(263, 74%, 31%)
CMYKcmyk(45%, 73.7%, 0%, 68.6%)
CIE-LABlab(13.54, 26.27, -32.00)
CIE-LCHlch(13.54, 41.40, 309.38°)
OKLaboklab(26.61% 0.046 -0.0914)
OKLCHoklch(26.61% 0.102 296.7)
XYZxyz(2.7545, 1.6509, 7.7614)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1550 #395015
analogous
#151B50 #2C1550 #4A1550
triadic
#2C1550 #502C15 #15502C
tetradic
#2C1550 #50151B #395015 #15504A
square
#2C1550 #50151B #395015 #15504A
split-complementary
#2C1550 #504A15 #1B5015
monochromatic
#0D0618 #110820 #2C1550 #472280 #612EB1

Accessibility & contrast

On white

15.79
#2C1550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2C1550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1550
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1550#FFFFFF#000000##FFFFFF
##2C15501.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#232330
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2c1550;
/* rgb */ color: rgb(44, 21, 80);
/* oklch */ color: oklch(26.6% 0.102 296.7);
Tailwind
colors: {
  custom: {
    50: '#695482',
    500: '#2c1550',
    950: '#000000',
  },
}
SCSS
$custom: #2c1550;
$custom-light: #695482;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1550",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 263.39,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26613,
    "c": 0.10227,
    "h": 296.7
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#2C1550
secondary
#698839
accent
#E246A5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2C1550

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

Preview Lab → · Contrast checker → · Palette generator →

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