#2C0647#2C0647

#2C0647 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.111 H 305.6°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2C0647
RGBrgb(44, 6, 71)
HSLhsl(275, 84%, 15%)
HSVhsv(275, 92%, 28%)
CMYKcmyk(38%, 91.5%, 0%, 72.2%)
CIE-LABlab(9.96, 31.48, -31.60)
CIE-LCHlch(9.96, 44.60, 314.89°)
OKLaboklab(23.83% 0.0646 -0.0901)
OKLCHoklch(23.83% 0.111 305.6)
XYZxyz(2.2409, 1.1207, 6.0583)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0647 #214706
analogous
#0B0647 #2C0647 #470641
triadic
#2C0647 #472C06 #06472C
tetradic
#2C0647 #470B06 #214706 #064147
square
#2C0647 #470B06 #214706 #064147
split-complementary
#2C0647 #414706 #06470B
monochromatic
#11021C #11021C #2C0647 #4F0B7F #7210B8

Accessibility & contrast

On white

17.15
#2C0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0647
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0647#FFFFFF#000000##FFFFFF
##2C06471.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#271827
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0647;
/* rgb */ color: rgb(44, 6, 71);
/* oklch */ color: oklch(23.8% 0.111 305.6);
Tailwind
colors: {
  custom: {
    50: '#694b7b',
    500: '#2c0647',
    950: '#000000',
  },
}
SCSS
$custom: #2c0647;
$custom-light: #694b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0647",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 275.077,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23826,
    "c": 0.11082,
    "h": 305.6
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#2C0647
secondary
#4C8623
accent
#FB2D83
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0647

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

Preview Lab → · Contrast checker → · Palette generator →

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