#2C1645#2C1645

#2C1645 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.086 H 302.3°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#2C1645
RGBrgb(44, 22, 69)
HSLhsl(268, 52%, 18%)
HSVhsv(268, 68%, 27%)
CMYKcmyk(36.2%, 68.1%, 0%, 72.9%)
CIE-LABlab(12.85, 22.31, -25.50)
CIE-LCHlch(12.85, 33.88, 311.18°)
OKLaboklab(25.83% 0.0458 -0.0723)
OKLCHoklch(25.83% 0.086 302.3)
XYZxyz(2.3995, 1.5390, 5.7997)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1645 #2F4516
analogous
#161845 #2C1645 #431645
triadic
#2C1645 #452C16 #16452C
tetradic
#2C1645 #451618 #2F4516 #164543
square
#2C1645 #451618 #2F4516 #164543
split-complementary
#2C1645 #454316 #184516
monochromatic
#0F0717 #0F0717 #2C1645 #4A2573 #6734A2

Accessibility & contrast

On white

16.06
#2C1645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2C1645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1645
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1645#FFFFFF#000000##FFFFFF
##2C16451.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002146
Deuteranopia (green-blind)
#092144
Tritanopia (blue-blind)
#27202B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c1645;
/* rgb */ color: rgb(44, 22, 69);
/* oklch */ color: oklch(25.8% 0.086 302.3);
Tailwind
colors: {
  custom: {
    50: '#675479',
    500: '#2c1645',
    950: '#000000',
  },
}
SCSS
$custom: #2c1645;
$custom-light: #675479;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1645",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 268.085,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2583,
    "c": 0.08554,
    "h": 302.3
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#2C1645
secondary
#5E7C3A
accent
#DB4D98
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060309
muted
#7A787B

Preview Lab

Preview with #2C1645

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

Preview Lab → · Contrast checker → · Palette generator →

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