#2C0849#2C0849

#2C0849 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.111 H 304.0°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#2C0849
RGBrgb(44, 8, 73)
HSLhsl(273, 80%, 16%)
HSVhsv(273, 89%, 29%)
CMYKcmyk(39.7%, 89%, 0%, 71.4%)
CIE-LABlab(10.48, 31.05, -32.14)
CIE-LCHlch(10.48, 44.68, 314.01°)
OKLaboklab(24.25% 0.0618 -0.0917)
OKLCHoklch(24.25% 0.111 304)
XYZxyz(2.3279, 1.1902, 6.4091)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0849 #254908
analogous
#0B0849 #2C0849 #490845
triadic
#2C0849 #492C08 #08492C
tetradic
#2C0849 #490B08 #254908 #084549
square
#2C0849 #490B08 #254908 #084549
split-complementary
#2C0849 #454908 #08490B
monochromatic
#11031C #11031C #2C0849 #4D0E80 #6E14B7

Accessibility & contrast

On white

16.96
#2C0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C0849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0849
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0849#FFFFFF#000000##FFFFFF
##2C08491.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#261A29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0849;
/* rgb */ color: rgb(44, 8, 73);
/* oklch */ color: oklch(24.3% 0.111 304.0);
Tailwind
colors: {
  custom: {
    50: '#694d7c',
    500: '#2c0849',
    950: '#000000',
  },
}
SCSS
$custom: #2c0849;
$custom-light: #694d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0849",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 273.231,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24252,
    "c": 0.11057,
    "h": 304
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#2C0849
secondary
#518726
accent
#F73189
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0849

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

Preview Lab → · Contrast checker → · Palette generator →

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