#3D1163#3D1163

#3D1163 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.134 H 303.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#3D1163
RGBrgb(61, 17, 99)
HSLhsl(272, 71%, 23%)
HSVhsv(272, 83%, 39%)
CMYKcmyk(38.4%, 82.8%, 0%, 61.2%)
CIE-LABlab(16.96, 37.14, -39.10)
CIE-LCHlch(16.96, 53.93, 313.53°)
OKLaboklab(30.1% 0.0734 -0.1115)
OKLCHoklch(30.1% 0.134 303.3)
XYZxyz(4.3765, 2.2939, 12.0142)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1163 #376311
analogous
#141163 #3D1163 #631160
triadic
#3D1163 #633D11 #11633D
tetradic
#3D1163 #631411 #376311 #116063
square
#3D1163 #631411 #376311 #116063
split-complementary
#3D1163 #606311 #116314
monochromatic
#10041A #1D082F #3D1163 #5D1A97 #7D23CB

Accessibility & contrast

On white

14.40
#3D1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D1163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1163
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1163#FFFFFF#000000##FFFFFF
##3D11631.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#35273A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1163;
/* rgb */ color: rgb(61, 17, 99);
/* oklch */ color: oklch(30.1% 0.134 303.3);
Tailwind
colors: {
  custom: {
    50: '#775590',
    500: '#3d1163',
    950: '#000000',
  },
}
SCSS
$custom: #3d1163;
$custom-light: #775590;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1163",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 272.195,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30101,
    "c": 0.13351,
    "h": 303.3
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#3D1163
secondary
#649B34
accent
#ED3A8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3D1163

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

Preview Lab → · Contrast checker → · Palette generator →

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