#2C0646#2C0646

#2C0646 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.110 H 306.3°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#2C0646
RGBrgb(44, 6, 70)
HSLhsl(276, 84%, 15%)
HSVhsv(276, 91%, 27%)
CMYKcmyk(37.1%, 91.4%, 0%, 72.5%)
CIE-LABlab(9.86, 31.23, -31.06)
CIE-LCHlch(9.86, 44.04, 315.16°)
OKLaboklab(23.73% 0.0649 -0.0885)
OKLCHoklch(23.73% 0.11 306.3)
XYZxyz(2.2091, 1.1079, 5.8906)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0646 #204606
analogous
#0C0646 #2C0646 #460640
triadic
#2C0646 #462C06 #06462C
tetradic
#2C0646 #460C06 #204606 #064046
square
#2C0646 #460C06 #204606 #064046
split-complementary
#2C0646 #404606 #06460C
monochromatic
#12021C #12021C #2C0646 #4F0B7E #7310B7

Accessibility & contrast

On white

17.19
#2C0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0646
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0646#FFFFFF#000000##FFFFFF
##2C06461.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#271727
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0646;
/* rgb */ color: rgb(44, 6, 70);
/* oklch */ color: oklch(23.7% 0.110 306.3);
Tailwind
colors: {
  custom: {
    50: '#694b7a',
    500: '#2c0646',
    950: '#000000',
  },
}
SCSS
$custom: #2c0646;
$custom-light: #694b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0646",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 275.625,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23727,
    "c": 0.10974,
    "h": 306.3
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#2C0646
secondary
#4B8522
accent
#FA2D81
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0646

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

Preview Lab → · Contrast checker → · Palette generator →

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