#2C0B46#2C0B46

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

Color values

HEX#2C0B46
RGBrgb(44, 11, 70)
HSLhsl(274, 73%, 16%)
HSVhsv(274, 84%, 27%)
CMYKcmyk(37.1%, 84.3%, 0%, 72.5%)
CIE-LABlab(10.68, 28.85, -29.72)
CIE-LCHlch(10.68, 41.41, 314.15°)
OKLaboklab(24.3% 0.0597 -0.0846)
OKLCHoklch(24.3% 0.104 305.2)
XYZxyz(2.2636, 1.2170, 5.9088)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B46 #25460B
analogous
#0E0B46 #2C0B46 #460B42
triadic
#2C0B46 #462C0B #0B462C
tetradic
#2C0B46 #460E0B #25460B #0B4246
square
#2C0B46 #460E0B #25460B #0B4246
split-complementary
#2C0B46 #42460B #0B460E
monochromatic
#11041A #11041A #2C0B46 #4D137B #6E1CB0

Accessibility & contrast

On white

16.89
#2C0B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0B46
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B46#FFFFFF#000000##FFFFFF
##2C0B461.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#271A28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0b46;
/* rgb */ color: rgb(44, 11, 70);
/* oklch */ color: oklch(24.3% 0.104 305.2);
Tailwind
colors: {
  custom: {
    50: '#684e7a',
    500: '#2c0b46',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b46;
$custom-light: #684e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b46",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 273.559,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24301,
    "c": 0.10351,
    "h": 305.2
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

primary
#2C0B46
secondary
#51822A
accent
#F03889
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0B46

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

Preview Lab → · Contrast checker → · Palette generator →

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