#2C123D#2C123D

#2C123D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.082 H 309.5°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#2C123D
RGBrgb(44, 18, 61)
HSLhsl(276, 54%, 15%)
HSVhsv(276, 70%, 24%)
CMYKcmyk(27.9%, 70.5%, 0%, 76.1%)
CIE-LABlab(11.31, 22.52, -22.34)
CIE-LCHlch(11.31, 31.73, 315.23°)
OKLaboklab(24.51% 0.052 -0.063)
OKLCHoklch(24.51% 0.082 309.5)
XYZxyz(2.0972, 1.3050, 4.5554)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C123D #233D12
analogous
#16123D #2C123D #3D1238
triadic
#2C123D #3D2C12 #123D2C
tetradic
#2C123D #3D1612 #233D12 #12383D
square
#2C123D #3D1612 #233D12 #12383D
split-complementary
#2C123D #383D12 #123D16
monochromatic
#110718 #110718 #2C123D #4E206C #702E9C

Accessibility & contrast

On white

16.65
#2C123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C123D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C123D
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C123D#FFFFFF#000000##FFFFFF
##2C123D1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#0C1E3C
Tritanopia (blue-blind)
#2A1A25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c123d;
/* rgb */ color: rgb(44, 18, 61);
/* oklch */ color: oklch(24.5% 0.082 309.5);
Tailwind
colors: {
  custom: {
    50: '#675173',
    500: '#2c123d',
    950: '#000000',
  },
}
SCSS
$custom: #2c123d;
$custom-light: #675173;
$custom-dark: #000000;
JSON
{
  "hex": "#2c123d",
  "rgb": {
    "r": 44,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 276.279,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24512,
    "c": 0.08165,
    "h": 309.5
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#2C123D
secondary
#4F7635
accent
#DE4A84
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C123D

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

Preview Lab → · Contrast checker → · Palette generator →

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