#2D0743#2D0743

#2D0743 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.105 H 309.0°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#2D0743
RGBrgb(45, 7, 67)
HSLhsl(278, 81%, 15%)
HSVhsv(278, 90%, 26%)
CMYKcmyk(32.8%, 89.6%, 0%, 73.7%)
CIE-LABlab(9.92, 30.16, -28.84)
CIE-LCHlch(9.92, 41.73, 316.28°)
OKLaboklab(23.71% 0.0664 -0.0819)
OKLCHoklch(23.71% 0.105 309)
XYZxyz(2.1711, 1.1151, 5.4100)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0743 #1D4307
analogous
#0F0743 #2D0743 #43073B
triadic
#2D0743 #432D07 #07432D
tetradic
#2D0743 #430F07 #1D4307 #073B43
square
#2D0743 #430F07 #1D4307 #073B43
split-complementary
#2D0743 #3B4307 #07430F
monochromatic
#13031C #13031C #2D0743 #520D7A #7713B2

Accessibility & contrast

On white

17.17
#2D0743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0743
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0743#FFFFFF#000000##FFFFFF
##2D07431.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#2A1625
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0743;
/* rgb */ color: rgb(45, 7, 67);
/* oklch */ color: oklch(23.7% 0.105 309.0);
Tailwind
colors: {
  custom: {
    50: '#694c78',
    500: '#2d0743',
    950: '#000000',
  },
}
SCSS
$custom: #2d0743;
$custom-light: #694c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0743",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 278,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23712,
    "c": 0.10548,
    "h": 309
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#2D0743
secondary
#468224
accent
#F73079
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0743

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

Preview Lab → · Contrast checker → · Palette generator →

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