#2D0A47#2D0A47

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

Color values

HEX#2D0A47
RGBrgb(45, 10, 71)
HSLhsl(274, 75%, 16%)
HSVhsv(274, 86%, 28%)
CMYKcmyk(36.6%, 85.9%, 0%, 72.2%)
CIE-LABlab(10.78, 29.79, -30.26)
CIE-LCHlch(10.78, 42.46, 314.55°)
OKLaboklab(24.43% 0.0621 -0.0861)
OKLCHoklch(24.43% 0.106 305.8)
XYZxyz(2.3278, 1.2299, 6.0748)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A47 #24470A
analogous
#0E0A47 #2D0A47 #470A42
triadic
#2D0A47 #472D0A #0A472D
tetradic
#2D0A47 #470E0A #24470A #0A4247
square
#2D0A47 #470E0A #24470A #0A4247
split-complementary
#2D0A47 #42470A #0A470E
monochromatic
#11041B #11041B #2D0A47 #4F127D #7119B2

Accessibility & contrast

On white

16.85
#2D0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A47
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A47#FFFFFF#000000##FFFFFF
##2D0A471.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#281A28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0a47;
/* rgb */ color: rgb(45, 10, 71);
/* oklch */ color: oklch(24.4% 0.106 305.8);
Tailwind
colors: {
  custom: {
    50: '#694e7b',
    500: '#2d0a47',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a47;
$custom-light: #694e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a47",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 274.426,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24431,
    "c": 0.10617,
    "h": 305.8
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#2D0A47
secondary
#508429
accent
#F23686
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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