#2C0B44#2C0B44

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

Color values

HEX#2C0B44
RGBrgb(44, 11, 68)
HSLhsl(275, 72%, 15%)
HSVhsv(275, 84%, 27%)
CMYKcmyk(35.3%, 83.8%, 0%, 73.3%)
CIE-LABlab(10.50, 28.30, -28.61)
CIE-LCHlch(10.50, 40.24, 314.69°)
OKLaboklab(24.12% 0.0602 -0.0813)
OKLCHoklch(24.12% 0.101 306.5)
XYZxyz(2.2015, 1.1922, 5.5819)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B44 #23440B
analogous
#0F0B44 #2C0B44 #440B3F
triadic
#2C0B44 #442C0B #0B442C
tetradic
#2C0B44 #440F0B #23440B #0B3F44
square
#2C0B44 #440F0B #23440B #0B3F44
split-complementary
#2C0B44 #3F440B #0B440F
monochromatic
#11041A #11041A #2C0B44 #4E1479 #701CAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0B44#FFFFFF#000000##FFFFFF
##2C0B441.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)
#001B46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#281927
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0b44;
/* rgb */ color: rgb(44, 11, 68);
/* oklch */ color: oklch(24.1% 0.101 306.5);
Tailwind
colors: {
  custom: {
    50: '#684e78',
    500: '#2c0b44',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b44;
$custom-light: #684e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b44",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 274.737,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24115,
    "c": 0.10116,
    "h": 306.5
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#2C0B44
secondary
#4F812A
accent
#EF3986
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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