#2C1445#2C1445

#2C1445 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.089 H 303.1°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#2C1445
RGBrgb(44, 20, 69)
HSLhsl(269, 55%, 17%)
HSVhsv(269, 71%, 27%)
CMYKcmyk(36.2%, 71%, 0%, 72.9%)
CIE-LABlab(12.39, 23.57, -26.25)
CIE-LCHlch(12.39, 35.28, 311.91°)
OKLaboklab(25.49% 0.0486 -0.0745)
OKLCHoklch(25.49% 0.089 303.1)
XYZxyz(2.3628, 1.4655, 5.7875)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1445 #2D4514
analogous
#141445 #2C1445 #451445
triadic
#2C1445 #452C14 #14452C
tetradic
#2C1445 #451414 #2D4514 #144545
square
#2C1445 #451414 #2D4514 #144545
split-complementary
#2C1445 #454514 #144514
monochromatic
#0F0718 #0F0718 #2C1445 #4A2274 #6930A4

Accessibility & contrast

On white

16.24
#2C1445 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C1445 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1445
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1445#FFFFFF#000000##FFFFFF
##2C14451.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#062044
Tritanopia (blue-blind)
#271E2A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1445;
/* rgb */ color: rgb(44, 20, 69);
/* oklch */ color: oklch(25.5% 0.089 303.1);
Tailwind
colors: {
  custom: {
    50: '#685379',
    500: '#2c1445',
    950: '#000000',
  },
}
SCSS
$custom: #2c1445;
$custom-light: #685379;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1445",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 69
  },
  "hsl": {
    "h": 269.388,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25491,
    "c": 0.08894,
    "h": 303.1
  },
  "luminance": 0.01465
}

Semantic roles & 50–950 ramp

primary
#2C1445
secondary
#5B7D38
accent
#DE4995
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1445

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

Preview Lab → · Contrast checker → · Palette generator →

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