#3D1E67#3D1E67

#3D1E67 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.122 H 298.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#3D1E67
RGBrgb(61, 30, 103)
HSLhsl(265, 55%, 26%)
HSVhsv(265, 71%, 40%)
CMYKcmyk(40.8%, 70.9%, 0%, 59.6%)
CIE-LABlab(19.64, 31.67, -37.37)
CIE-LCHlch(19.64, 48.99, 310.27°)
OKLaboklab(32.11% 0.0586 -0.1065)
OKLCHoklch(32.11% 0.122 298.8)
XYZxyz(4.8363, 2.8999, 13.1343)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E67 #48671E
analogous
#1E2467 #3D1E67 #611E67
triadic
#3D1E67 #673D1E #1E673D
tetradic
#3D1E67 #671E24 #48671E #1E6761
square
#3D1E67 #671E24 #48671E #1E6761
split-complementary
#3D1E67 #67611E #24671E
monochromatic
#0E0718 #211038 #3D1E67 #592C96 #753AC6

Accessibility & contrast

On white

13.29
#3D1E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3D1E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E67
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E67#FFFFFF#000000##FFFFFF
##3D1E671.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#332F3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d1e67;
/* rgb */ color: rgb(61, 30, 103);
/* oklch */ color: oklch(32.1% 0.122 298.8);
Tailwind
colors: {
  custom: {
    50: '#775c93',
    500: '#3d1e67',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e67;
$custom-light: #775c93;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e67",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 265.479,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32108,
    "c": 0.1216,
    "h": 298.8
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#3D1E67
secondary
#779C45
accent
#DE4A9F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D1E67

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

Preview Lab → · Contrast checker → · Palette generator →

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