#3D0843#3D0843

#3D0843 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.111 H 323.4°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#3D0843
RGBrgb(61, 8, 67)
HSLhsl(294, 79%, 15%)
HSVhsv(294, 88%, 26%)
CMYKcmyk(9%, 88.1%, 0%, 73.7%)
CIE-LABlab(13.05, 33.21, -23.63)
CIE-LCHlch(13.05, 40.76, 324.57°)
OKLaboklab(26.51% 0.0889 -0.066)
OKLCHoklch(26.51% 0.111 323.4)
XYZxyz(3.0243, 1.5712, 5.4531)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0843 #0E4308
analogous
#1F0843 #3D0843 #43082C
triadic
#3D0843 #433D08 #08433D
tetradic
#3D0843 #431F08 #0E4308 #082C43
square
#3D0843 #431F08 #0E4308 #082C43
split-complementary
#3D0843 #2C4308 #08431F
monochromatic
#19031B #19031B #3D0843 #6F0F7A #A115B0

Accessibility & contrast

On white

15.98
#3D0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3D0843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0843
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0843#FFFFFF#000000##FFFFFF
##3D08431.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#132442
Tritanopia (blue-blind)
#3E1426
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0843;
/* rgb */ color: rgb(61, 8, 67);
/* oklch */ color: oklch(26.5% 0.111 323.4);
Tailwind
colors: {
  custom: {
    50: '#754f77',
    500: '#3d0843',
    950: '#000000',
  },
}
SCSS
$custom: #3d0843;
$custom-light: #754f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0843",
  "rgb": {
    "r": 61,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 293.898,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26514,
    "c": 0.11076,
    "h": 323.4
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#3D0843
secondary
#2F8125
accent
#F53346
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0843

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

Preview Lab → · Contrast checker → · Palette generator →

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