#3D1C73#3D1C73

#3D1C73 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.139 H 294.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#3D1C73
RGBrgb(61, 28, 115)
HSLhsl(263, 61%, 28%)
HSVhsv(263, 76%, 45%)
CMYKcmyk(47%, 75.7%, 0%, 54.9%)
CIE-LABlab(20.28, 36.22, -44.11)
CIE-LCHlch(20.28, 57.08, 309.38°)
OKLaboklab(32.89% 0.0585 -0.1263)
OKLCHoklch(32.89% 0.139 294.9)
XYZxyz(5.4334, 3.0603, 16.5207)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C73 #52731C
analogous
#1C2673 #3D1C73 #681C73
triadic
#3D1C73 #733D1C #1C733D
tetradic
#3D1C73 #731C26 #52731C #1C7368
square
#3D1C73 #731C26 #52731C #1C7368
split-complementary
#3D1C73 #73681C #26731C
monochromatic
#0D0619 #231042 #3D1C73 #5728A4 #733ACF

Accessibility & contrast

On white

13.03
#3D1C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3D1C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C73
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C73#FFFFFF#000000##FFFFFF
##3D1C731.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#2E3245
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1c73;
/* rgb */ color: rgb(61, 28, 115);
/* oklch */ color: oklch(32.9% 0.139 294.9);
Tailwind
colors: {
  custom: {
    50: '#785b9c',
    500: '#3d1c73',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c73;
$custom-light: #785b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c73",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 262.759,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32893,
    "c": 0.13923,
    "h": 294.9
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#3D1C73
secondary
#81A743
accent
#E444A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1C73

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

Preview Lab → · Contrast checker → · Palette generator →

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