#2D0744#2D0744

#2D0744 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.107 H 308.4°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#2D0744
RGBrgb(45, 7, 68)
HSLhsl(277, 81%, 15%)
HSVhsv(277, 90%, 27%)
CMYKcmyk(33.8%, 89.7%, 0%, 73.3%)
CIE-LABlab(10.01, 30.41, -29.40)
CIE-LCHlch(10.01, 42.30, 315.97°)
OKLaboklab(23.81% 0.0661 -0.0836)
OKLCHoklch(23.81% 0.107 308.4)
XYZxyz(2.2013, 1.1272, 5.5693)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0744 #1E4407
analogous
#0F0744 #2D0744 #44073D
triadic
#2D0744 #442D07 #07442D
tetradic
#2D0744 #440F07 #1E4407 #073D44
square
#2D0744 #440F07 #1E4407 #073D44
split-complementary
#2D0744 #3D4407 #07440F
monochromatic
#12031C #12031C #2D0744 #520D7B #7612B3

Accessibility & contrast

On white

17.14
#2D0744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D0744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0744
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0744#FFFFFF#000000##FFFFFF
##2D07441.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#291726
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0744;
/* rgb */ color: rgb(45, 7, 68);
/* oklch */ color: oklch(23.8% 0.107 308.4);
Tailwind
colors: {
  custom: {
    50: '#694c78',
    500: '#2d0744',
    950: '#000000',
  },
}
SCSS
$custom: #2d0744;
$custom-light: #694c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0744",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 277.377,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23807,
    "c": 0.10657,
    "h": 308.4
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#2D0744
secondary
#488324
accent
#F8307B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0744

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

Preview Lab → · Contrast checker → · Palette generator →

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