#2D0844#2D0844

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

Color values

HEX#2D0844
RGBrgb(45, 8, 68)
HSLhsl(277, 79%, 15%)
HSVhsv(277, 88%, 27%)
CMYKcmyk(33.8%, 88.2%, 0%, 73.3%)
CIE-LABlab(10.17, 29.93, -29.13)
CIE-LCHlch(10.17, 41.77, 315.78°)
OKLaboklab(23.92% 0.065 -0.0828)
OKLCHoklch(23.92% 0.105 308.1)
XYZxyz(2.2122, 1.1489, 5.5730)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0844 #1F4408
analogous
#0F0844 #2D0844 #44083D
triadic
#2D0844 #442D08 #08442D
tetradic
#2D0844 #440F08 #1F4408 #083D44
square
#2D0844 #440F08 #1F4408 #083D44
split-complementary
#2D0844 #3D4408 #08440F
monochromatic
#12031B #12031B #2D0844 #510E7B #7515B2

Accessibility & contrast

On white

17.08
#2D0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0844
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0844#FFFFFF#000000##FFFFFF
##2D08441.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0844;
/* rgb */ color: rgb(45, 8, 68);
/* oklch */ color: oklch(23.9% 0.105 308.1);
Tailwind
colors: {
  custom: {
    50: '#694c78',
    500: '#2d0844',
    950: '#000000',
  },
}
SCSS
$custom: #2d0844;
$custom-light: #694c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0844",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 277,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23923,
    "c": 0.10527,
    "h": 308.1
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#2D0844
secondary
#498226
accent
#F5327D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0844

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

Preview Lab → · Contrast checker → · Palette generator →

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