#2D0F46#2D0F46

#2D0F46 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.098 H 305.2°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#2D0F46
RGBrgb(45, 15, 70)
HSLhsl(273, 65%, 17%)
HSVhsv(273, 79%, 27%)
CMYKcmyk(35.7%, 78.6%, 0%, 72.5%)
CIE-LABlab(11.56, 27.02, -28.28)
CIE-LCHlch(11.56, 39.11, 313.70°)
OKLaboklab(24.96% 0.0567 -0.0803)
OKLCHoklch(24.96% 0.098 305.2)
XYZxyz(2.3583, 1.3417, 5.9279)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F46 #28460F
analogous
#120F46 #2D0F46 #460F44
triadic
#2D0F46 #462D0F #0F462D
tetradic
#2D0F46 #46120F #28460F #0F4446
square
#2D0F46 #46120F #28460F #0F4446
split-complementary
#2D0F46 #44460F #0F4612
monochromatic
#100519 #100519 #2D0F46 #4D1A78 #6E25AB

Accessibility & contrast

On white

16.56
#2D0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2D0F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F46
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F46#FFFFFF#000000##FFFFFF
##2D0F461.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#281C29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d0f46;
/* rgb */ color: rgb(45, 15, 70);
/* oklch */ color: oklch(25.0% 0.098 305.2);
Tailwind
colors: {
  custom: {
    50: '#69507a',
    500: '#2d0f46',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f46;
$custom-light: #69507a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f46",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 272.727,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2496,
    "c": 0.09834,
    "h": 305.2
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#2D0F46
secondary
#558030
accent
#E8408C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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