#2D0F44#2D0F44

#2D0F44 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.096 H 306.5°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#2D0F44
RGBrgb(45, 15, 68)
HSLhsl(274, 64%, 16%)
HSVhsv(274, 78%, 27%)
CMYKcmyk(33.8%, 77.9%, 0%, 73.3%)
CIE-LABlab(11.39, 26.47, -27.15)
CIE-LCHlch(11.39, 37.92, 314.27°)
OKLaboklab(24.78% 0.0571 -0.077)
OKLCHoklch(24.78% 0.096 306.5)
XYZxyz(2.2962, 1.3169, 5.6009)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F44 #26440F
analogous
#130F44 #2D0F44 #440F41
triadic
#2D0F44 #442D0F #0F442D
tetradic
#2D0F44 #44130F #26440F #0F4144
square
#2D0F44 #44130F #26440F #0F4144
split-complementary
#2D0F44 #41440F #0F4413
monochromatic
#110619 #110619 #2D0F44 #4E1A76 #6F25A8

Accessibility & contrast

On white

16.62
#2D0F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D0F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F44
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F44#FFFFFF#000000##FFFFFF
##2D0F441.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#021E43
Tritanopia (blue-blind)
#291B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0f44;
/* rgb */ color: rgb(45, 15, 68);
/* oklch */ color: oklch(24.8% 0.096 306.5);
Tailwind
colors: {
  custom: {
    50: '#695078',
    500: '#2d0f44',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f44;
$custom-light: #695078;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f44",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 273.962,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24784,
    "c": 0.09586,
    "h": 306.5
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#2D0F44
secondary
#527E30
accent
#E74189
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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