#3D3071#3D3071

#3D3071 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.108 H 289.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3D3071
RGBrgb(61, 48, 113)
HSLhsl(252, 40%, 32%)
HSVhsv(252, 58%, 44%)
CMYKcmyk(46%, 57.5%, 0%, 55.7%)
CIE-LABlab(24.63, 23.51, -35.78)
CIE-LCHlch(24.63, 42.81, 303.31°)
OKLaboklab(36% 0.0351 -0.1018)
OKLCHoklch(36% 0.108 289)
XYZxyz(5.9612, 4.2980, 16.1351)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3071 #647130
analogous
#304471 #3D3071 #5E3071
triadic
#3D3071 #713D30 #30713D
tetradic
#3D3071 #713044 #647130 #30715E
square
#3D3071 #713044 #647130 #30715E
split-complementary
#3D3071 #715E30 #447130
monochromatic
#0F0C1B #261E46 #3D3071 #54429C #7260BB

Accessibility & contrast

On white

11.29
#3D3071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3D3071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3071
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3071#FFFFFF#000000##FFFFFF
##3D30711.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#2E3E4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d3071;
/* rgb */ color: rgb(61, 48, 113);
/* oklch */ color: oklch(36.0% 0.108 289.0);
Tailwind
colors: {
  custom: {
    50: '#76689a',
    500: '#3d3071',
    950: '#000000',
  },
}
SCSS
$custom: #3d3071;
$custom-light: #76689a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3071",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 252,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35998,
    "c": 0.10774,
    "h": 289
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#3D3071
secondary
#94A25B
accent
#D058B8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D3071

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

Preview Lab → · Contrast checker → · Palette generator →

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