#2C0B45#2C0B45

#2C0B45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.102 H 305.8°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#2C0B45
RGBrgb(44, 11, 69)
HSLhsl(274, 73%, 16%)
HSVhsv(274, 84%, 27%)
CMYKcmyk(36.2%, 84.1%, 0%, 72.9%)
CIE-LABlab(10.59, 28.57, -29.16)
CIE-LCHlch(10.59, 40.83, 314.42°)
OKLaboklab(24.21% 0.0599 -0.083)
OKLCHoklch(24.21% 0.102 305.8)
XYZxyz(2.2323, 1.2045, 5.7440)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B45 #24450B
analogous
#0F0B45 #2C0B45 #450B41
triadic
#2C0B45 #452C0B #0B452C
tetradic
#2C0B45 #450F0B #24450B #0B4145
square
#2C0B45 #450F0B #24450B #0B4145
split-complementary
#2C0B45 #41450B #0B450F
monochromatic
#11041A #11041A #2C0B45 #4E137A #6F1CAF

Accessibility & contrast

On white

16.92
#2C0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0B45
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B45#FFFFFF#000000##FFFFFF
##2C0B451.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#271927
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0b45;
/* rgb */ color: rgb(44, 11, 69);
/* oklch */ color: oklch(24.2% 0.102 305.8);
Tailwind
colors: {
  custom: {
    50: '#684e79',
    500: '#2c0b45',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b45;
$custom-light: #684e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b45",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 274.138,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24208,
    "c": 0.10234,
    "h": 305.8
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#2C0B45
secondary
#50812A
accent
#EF3987
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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