#2D0843#2D0843

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

Color values

HEX#2D0843
RGBrgb(45, 8, 67)
HSLhsl(278, 79%, 15%)
HSVhsv(278, 88%, 26%)
CMYKcmyk(32.8%, 88.1%, 0%, 73.7%)
CIE-LABlab(10.08, 29.68, -28.57)
CIE-LCHlch(10.08, 41.20, 316.09°)
OKLaboklab(23.83% 0.0653 -0.0811)
OKLCHoklch(23.83% 0.104 308.8)
XYZxyz(2.1819, 1.1368, 5.4136)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0843 #1E4308
analogous
#0F0843 #2D0843 #43083C
triadic
#2D0843 #432D08 #08432D
tetradic
#2D0843 #430F08 #1E4308 #083C43
square
#2D0843 #430F08 #1E4308 #083C43
split-complementary
#2D0843 #3C4308 #08430F
monochromatic
#12031B #12031B #2D0843 #520F7A #7615B0

Accessibility & contrast

On white

17.11
#2D0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0843
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0843#FFFFFF#000000##FFFFFF
##2D08431.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0843;
/* rgb */ color: rgb(45, 8, 67);
/* oklch */ color: oklch(23.8% 0.104 308.8);
Tailwind
colors: {
  custom: {
    50: '#694c78',
    500: '#2d0843',
    950: '#000000',
  },
}
SCSS
$custom: #2d0843;
$custom-light: #694c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0843",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 277.627,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23829,
    "c": 0.10416,
    "h": 308.8
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#2D0843
secondary
#488125
accent
#F5337B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0843

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

Preview Lab → · Contrast checker → · Palette generator →

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