#2D0A49#2D0A49

#2D0A49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.108 H 304.6°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#2D0A49
RGBrgb(45, 10, 73)
HSLhsl(273, 76%, 16%)
HSVhsv(273, 86%, 29%)
CMYKcmyk(38.4%, 86.3%, 0%, 71.4%)
CIE-LABlab(10.96, 30.32, -31.35)
CIE-LCHlch(10.96, 43.61, 314.05°)
OKLaboklab(24.62% 0.0615 -0.0893)
OKLCHoklch(24.62% 0.108 304.6)
XYZxyz(2.3931, 1.2560, 6.4184)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A49 #26490A
analogous
#0D0A49 #2D0A49 #490A46
triadic
#2D0A49 #492D0A #0A492D
tetradic
#2D0A49 #490D0A #26490A #0A4649
square
#2D0A49 #490D0A #26490A #0A4649
split-complementary
#2D0A49 #46490A #0A490D
monochromatic
#11041B #11041B #2D0A49 #4E117F #6F19B5

Accessibility & contrast

On white

16.78
#2D0A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A49
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A49#FFFFFF#000000##FFFFFF
##2D0A491.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#281A29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0a49;
/* rgb */ color: rgb(45, 10, 73);
/* oklch */ color: oklch(24.6% 0.108 304.6);
Tailwind
colors: {
  custom: {
    50: '#6a4e7c',
    500: '#2d0a49',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a49;
$custom-light: #6a4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a49",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 273.333,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24621,
    "c": 0.10846,
    "h": 304.6
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#2D0A49
secondary
#528629
accent
#F23589
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0A49

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

Preview Lab → · Contrast checker → · Palette generator →

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