#2C0A3D#2C0A3D

#2C0A3D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.094 H 311.7°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2C0A3D
RGBrgb(44, 10, 61)
HSLhsl(280, 72%, 14%)
HSVhsv(280, 84%, 24%)
CMYKcmyk(27.9%, 83.6%, 0%, 76.1%)
CIE-LABlab(9.72, 26.95, -24.91)
CIE-LCHlch(9.72, 36.70, 317.25°)
OKLaboklab(23.37% 0.0628 -0.0704)
OKLCHoklch(23.37% 0.094 311.7)
XYZxyz(1.9894, 1.0895, 4.5195)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A3D #1B3D0A
analogous
#130A3D #2C0A3D #3D0A35
triadic
#2C0A3D #3D2C0A #0A3D2C
tetradic
#2C0A3D #3D130A #1B3D0A #0A353D
square
#2C0A3D #3D130A #1B3D0A #0A353D
split-complementary
#2C0A3D #353D0A #0A3D13
monochromatic
#13041A #13041A #2C0A3D #521372 #781BA6

Accessibility & contrast

On white

17.24
#2C0A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A3D
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A3D#FFFFFF#000000##FFFFFF
##2C0A3D1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#041C3C
Tritanopia (blue-blind)
#2A1523
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0a3d;
/* rgb */ color: rgb(44, 10, 61);
/* oklch */ color: oklch(23.4% 0.094 311.7);
Tailwind
colors: {
  custom: {
    50: '#684d73',
    500: '#2c0a3d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a3d;
$custom-light: #684d73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a3d",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 280,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23368,
    "c": 0.09435,
    "h": 311.7
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#2C0A3D
secondary
#447A28
accent
#EF3976
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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