#2C0D43#2C0D43

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

Color values

HEX#2C0D43
RGBrgb(44, 13, 67)
HSLhsl(274, 68%, 16%)
HSVhsv(274, 81%, 26%)
CMYKcmyk(34.3%, 80.6%, 0%, 73.7%)
CIE-LABlab(10.77, 27.02, -27.47)
CIE-LCHlch(10.77, 38.53, 314.53°)
OKLaboklab(24.28% 0.0581 -0.078)
OKLCHoklch(24.28% 0.097 306.7)
XYZxyz(2.1955, 1.2286, 5.4306)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D43 #24430D
analogous
#110D43 #2C0D43 #430D3F
triadic
#2C0D43 #432C0D #0D432C
tetradic
#2C0D43 #43110D #24430D #0D3F43
square
#2C0D43 #43110D #24430D #0D3F43
split-complementary
#2C0D43 #3F430D #0D4311
monochromatic
#11051A #11051A #2C0D43 #4E1776 #6F21AA

Accessibility & contrast

On white

16.86
#2C0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D43
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D43#FFFFFF#000000##FFFFFF
##2C0D431.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#281A27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0d43;
/* rgb */ color: rgb(44, 13, 67);
/* oklch */ color: oklch(24.3% 0.097 306.7);
Tailwind
colors: {
  custom: {
    50: '#684f78',
    500: '#2c0d43',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d43;
$custom-light: #684f78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d43",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 274.444,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24276,
    "c": 0.09724,
    "h": 306.7
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#2C0D43
secondary
#507E2D
accent
#EA3D87
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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