#2D0C43#2D0C43

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

Color values

HEX#2D0C43
RGBrgb(45, 12, 67)
HSLhsl(276, 70%, 15%)
HSVhsv(276, 82%, 26%)
CMYKcmyk(32.8%, 82.1%, 0%, 73.7%)
CIE-LABlab(10.75, 27.77, -27.49)
CIE-LCHlch(10.75, 39.08, 315.29°)
OKLaboklab(24.3% 0.0609 -0.078)
OKLCHoklch(24.3% 0.099 308)
XYZxyz(2.2266, 1.2261, 5.4285)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C43 #22430C
analogous
#110C43 #2D0C43 #430C3D
triadic
#2D0C43 #432D0C #0C432D
tetradic
#2D0C43 #43110C #22430C #0C3D43
square
#2D0C43 #43110C #22430C #0C3D43
split-complementary
#2D0C43 #3D430C #0C4311
monochromatic
#11051A #11051A #2D0C43 #501577 #731FAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D0C43#FFFFFF#000000##FFFFFF
##2D0C431.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)
#291926
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0c43;
/* rgb */ color: rgb(45, 12, 67);
/* oklch */ color: oklch(24.3% 0.099 308.0);
Tailwind
colors: {
  custom: {
    50: '#694e78',
    500: '#2d0c43',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c43;
$custom-light: #694e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c43",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 276,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24298,
    "c": 0.09895,
    "h": 308
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#2D0C43
secondary
#4D7F2C
accent
#EC3B82
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0C43

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

Preview Lab → · Contrast checker → · Palette generator →

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