#2D0C44#2D0C44

#2D0C44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.100 H 307.3°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2D0C44
RGBrgb(45, 12, 68)
HSLhsl(275, 70%, 16%)
HSVhsv(275, 82%, 27%)
CMYKcmyk(33.8%, 82.4%, 0%, 73.3%)
CIE-LABlab(10.84, 28.04, -28.05)
CIE-LCHlch(10.84, 39.66, 314.98°)
OKLaboklab(24.39% 0.0607 -0.0797)
OKLCHoklch(24.39% 0.1 307.3)
XYZxyz(2.2568, 1.2382, 5.5878)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C44 #23440C
analogous
#110C44 #2D0C44 #440C3F
triadic
#2D0C44 #442D0C #0C442D
tetradic
#2D0C44 #44110C #23440C #0C3F44
square
#2D0C44 #44110C #23440C #0C3F44
split-complementary
#2D0C44 #3F440C #0C4411
monochromatic
#11051A #11051A #2D0C44 #4F1578 #721EAC

Accessibility & contrast

On white

16.83
#2D0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C44
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C44#FFFFFF#000000##FFFFFF
##2D0C441.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#291927
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0c44;
/* rgb */ color: rgb(45, 12, 68);
/* oklch */ color: oklch(24.4% 0.100 307.3);
Tailwind
colors: {
  custom: {
    50: '#694e78',
    500: '#2d0c44',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c44;
$custom-light: #694e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c44",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 275.357,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24388,
    "c": 0.10013,
    "h": 307.3
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#2D0C44
secondary
#4E802C
accent
#ED3B84
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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