#2D0741#2D0741

#2D0741 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.103 H 310.4°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2D0741
RGBrgb(45, 7, 65)
HSLhsl(279, 81%, 14%)
HSVhsv(279, 89%, 25%)
CMYKcmyk(30.8%, 89.2%, 0%, 74.5%)
CIE-LABlab(9.73, 29.66, -27.73)
CIE-LCHlch(9.73, 40.60, 316.93°)
OKLaboklab(23.53% 0.067 -0.0787)
OKLCHoklch(23.53% 0.103 310.4)
XYZxyz(2.1121, 1.0915, 5.0994)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0741 #1B4107
analogous
#100741 #2D0741 #410738
triadic
#2D0741 #412D07 #07412D
tetradic
#2D0741 #411007 #1B4107 #073841
square
#2D0741 #411007 #1B4107 #073841
split-complementary
#2D0741 #384107 #074110
monochromatic
#13031C #13031C #2D0741 #530D78 #7A13B0

Accessibility & contrast

On white

17.24
#2D0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D0741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0741
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0741#FFFFFF#000000##FFFFFF
##2D07411.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#2A1524
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0741;
/* rgb */ color: rgb(45, 7, 65);
/* oklch */ color: oklch(23.5% 0.103 310.4);
Tailwind
colors: {
  custom: {
    50: '#694c76',
    500: '#2d0741',
    950: '#000000',
  },
}
SCSS
$custom: #2d0741;
$custom-light: #694c76;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0741",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 279.31,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23526,
    "c": 0.10331,
    "h": 310.4
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#2D0741
secondary
#448024
accent
#F73175
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D0741

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

Preview Lab → · Contrast checker → · Palette generator →

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