#2C1449#2C1449

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

Color values

HEX#2C1449
RGBrgb(44, 20, 73)
HSLhsl(267, 57%, 18%)
HSVhsv(267, 73%, 29%)
CMYKcmyk(39.7%, 72.6%, 0%, 71.4%)
CIE-LABlab(12.71, 24.75, -28.51)
CIE-LCHlch(12.71, 37.76, 310.96°)
OKLaboklab(25.83% 0.0482 -0.0811)
OKLCHoklch(25.83% 0.094 300.7)
XYZxyz(2.4912, 1.5168, 6.4636)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1449 #314914
analogous
#141649 #2C1449 #461449
triadic
#2C1449 #492C14 #14492C
tetradic
#2C1449 #491416 #314914 #144946
square
#2C1449 #491416 #314914 #144946
split-complementary
#2C1449 #494614 #164914
monochromatic
#0E0718 #0F0719 #2C1449 #492179 #662EA9

Accessibility & contrast

On white

16.11
#2C1449 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2C1449 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1449
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1449#FFFFFF#000000##FFFFFF
##2C14491.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#002148
Tritanopia (blue-blind)
#26202C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c1449;
/* rgb */ color: rgb(44, 20, 73);
/* oklch */ color: oklch(25.8% 0.094 300.7);
Tailwind
colors: {
  custom: {
    50: '#68537c',
    500: '#2c1449',
    950: '#000000',
  },
}
SCSS
$custom: #2c1449;
$custom-light: #68537c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1449",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 73
  },
  "hsl": {
    "h": 267.17,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25832,
    "c": 0.09436,
    "h": 300.7
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#2C1449
secondary
#608138
accent
#E0489B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1449

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

Preview Lab → · Contrast checker → · Palette generator →

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