#2C1650#2C1650

#2C1650 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.101 H 296.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#2C1650
RGBrgb(44, 22, 80)
HSLhsl(263, 57%, 20%)
HSVhsv(263, 73%, 31%)
CMYKcmyk(45%, 72.5%, 0%, 68.6%)
CIE-LABlab(13.76, 25.66, -31.64)
CIE-LCHlch(13.76, 40.73, 309.04°)
OKLaboklab(26.77% 0.0447 -0.0903)
OKLCHoklch(26.77% 0.101 296.4)
XYZxyz(2.7732, 1.6884, 7.7676)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1650 #3A5016
analogous
#161D50 #2C1650 #491650
triadic
#2C1650 #502C16 #16502C
tetradic
#2C1650 #50161D #3A5016 #165049
square
#2C1650 #50161D #3A5016 #165049
split-complementary
#2C1650 #504916 #1D5016
monochromatic
#0D0718 #120920 #2C1650 #462380 #6130B0

Accessibility & contrast

On white

15.70
#2C1650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2C1650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1650
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1650#FFFFFF#000000##FFFFFF
##2C16501.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1650;
/* rgb */ color: rgb(44, 22, 80);
/* oklch */ color: oklch(26.8% 0.101 296.4);
Tailwind
colors: {
  custom: {
    50: '#695582',
    500: '#2c1650',
    950: '#000000',
  },
}
SCSS
$custom: #2c1650;
$custom-light: #695582;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1650",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 262.759,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.26772,
    "c": 0.10077,
    "h": 296.4
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#2C1650
secondary
#6A873A
accent
#E048A6
background
#F6F5F8
surface
#EBE8EF
border
#C6C4CA
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2C1650

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

Preview Lab → · Contrast checker → · Palette generator →

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