#2C0641#2C0641

#2C0641 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.2% C 0.104 H 309.6°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2C0641
RGBrgb(44, 6, 65)
HSLhsl(279, 83%, 14%)
HSVhsv(279, 91%, 25%)
CMYKcmyk(32.3%, 90.8%, 0%, 74.5%)
CIE-LABlab(9.38, 29.96, -28.31)
CIE-LCHlch(9.38, 41.22, 316.62°)
OKLaboklab(23.24% 0.0666 -0.0804)
OKLCHoklch(23.24% 0.104 309.6)
XYZxyz(2.0578, 1.0474, 5.0938)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0641 #1B4106
analogous
#0F0641 #2C0641 #410639
triadic
#2C0641 #412C06 #06412C
tetradic
#2C0641 #410F06 #1B4106 #063941
square
#2C0641 #410F06 #1B4106 #063941
split-complementary
#2C0641 #394106 #06410F
monochromatic
#13031C #13031C #2C0641 #520B79 #7810B1

Accessibility & contrast

On white

17.36
#2C0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0641
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0641#FFFFFF#000000##FFFFFF
##2C06411.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#291524
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0641;
/* rgb */ color: rgb(44, 6, 65);
/* oklch */ color: oklch(23.2% 0.104 309.6);
Tailwind
colors: {
  custom: {
    50: '#684b76',
    500: '#2c0641',
    950: '#000000',
  },
}
SCSS
$custom: #2c0641;
$custom-light: #684b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0641",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 278.644,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23244,
    "c": 0.10436,
    "h": 309.6
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#2C0641
secondary
#448122
accent
#F92E77
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0641

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

Preview Lab → · Contrast checker → · Palette generator →

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