#2C0B48#2C0B48

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

Color values

HEX#2C0B48
RGBrgb(44, 11, 72)
HSLhsl(272, 73%, 16%)
HSVhsv(272, 85%, 28%)
CMYKcmyk(38.9%, 84.7%, 0%, 71.8%)
CIE-LABlab(10.87, 29.39, -30.81)
CIE-LCHlch(10.87, 42.58, 313.65°)
OKLaboklab(24.49% 0.0591 -0.0878)
OKLCHoklch(24.49% 0.106 304)
XYZxyz(2.3278, 1.2427, 6.2469)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B48 #27480B
analogous
#0E0B48 #2C0B48 #480B46
triadic
#2C0B48 #482C0B #0B482C
tetradic
#2C0B48 #480E0B #27480B #0B4648
square
#2C0B48 #480E0B #27480B #0B4648
split-complementary
#2C0B48 #46480B #0B480E
monochromatic
#10041B #10041B #2C0B48 #4C137D #6D1BB2

Accessibility & contrast

On white

16.82
#2C0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C0B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0B48
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B48#FFFFFF#000000##FFFFFF
##2C0B481.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#261B29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0b48;
/* rgb */ color: rgb(44, 11, 72);
/* oklch */ color: oklch(24.5% 0.106 304.0);
Tailwind
colors: {
  custom: {
    50: '#694e7b',
    500: '#2c0b48',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b48;
$custom-light: #694e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b48",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 272.459,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2449,
    "c": 0.10586,
    "h": 304
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#2C0B48
secondary
#54842A
accent
#F0388C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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