#2D0F49#2D0F49

#2D0F49 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.102 H 303.4°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#2D0F49
RGBrgb(45, 15, 73)
HSLhsl(271, 66%, 17%)
HSVhsv(271, 79%, 29%)
CMYKcmyk(38.4%, 79.5%, 0%, 71.4%)
CIE-LABlab(11.83, 27.86, -29.94)
CIE-LCHlch(11.83, 40.90, 312.94°)
OKLaboklab(25.23% 0.0561 -0.0852)
OKLCHoklch(25.23% 0.102 303.4)
XYZxyz(2.4553, 1.3806, 6.4392)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F49 #2B490F
analogous
#100F49 #2D0F49 #490F48
triadic
#2D0F49 #492D0F #0F492D
tetradic
#2D0F49 #49100F #2B490F #0F4849
square
#2D0F49 #49100F #2B490F #0F4849
split-complementary
#2D0F49 #48490F #0F4910
monochromatic
#100519 #100519 #2D0F49 #4C197C #6C24AF

Accessibility & contrast

On white

16.46
#2D0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2D0F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F49
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F49#FFFFFF#000000##FFFFFF
##2D0F491.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#271D2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d0f49;
/* rgb */ color: rgb(45, 15, 73);
/* oklch */ color: oklch(25.2% 0.102 303.4);
Tailwind
colors: {
  custom: {
    50: '#69507c',
    500: '#2d0f49',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f49;
$custom-light: #69507c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f49",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 271.034,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2523,
    "c": 0.10206,
    "h": 303.4
  },
  "luminance": 0.01381
}

Semantic roles & 50–950 ramp

primary
#2D0F49
secondary
#588330
accent
#E93F91
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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