#3D1B63#3D1B63

#3D1B63 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.3% C 0.121 H 301.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#3D1B63
RGBrgb(61, 27, 99)
HSLhsl(268, 57%, 25%)
HSVhsv(268, 73%, 39%)
CMYKcmyk(38.4%, 72.7%, 0%, 61.2%)
CIE-LABlab(18.70, 32.22, -36.27)
CIE-LCHlch(18.70, 48.51, 311.62°)
OKLaboklab(31.33% 0.0628 -0.1033)
OKLCHoklch(31.33% 0.121 301.3)
XYZxyz(4.5680, 2.6768, 12.0780)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1B63 #41631B
analogous
#1B1D63 #3D1B63 #611B63
triadic
#3D1B63 #633D1B #1B633D
tetradic
#3D1B63 #631B1D #41631B #1B6361
square
#3D1B63 #631B1D #41631B #1B6361
split-complementary
#3D1B63 #63611B #1D631B
monochromatic
#0F0718 #1F0E33 #3D1B63 #5B2893 #7835C3

Accessibility & contrast

On white

13.68
#3D1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3D1B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1B63
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1B63#FFFFFF#000000##FFFFFF
##3D1B631.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#352C3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1b63;
/* rgb */ color: rgb(61, 27, 99);
/* oklch */ color: oklch(31.3% 0.121 301.3);
Tailwind
colors: {
  custom: {
    50: '#765a90',
    500: '#3d1b63',
    950: '#000000',
  },
}
SCSS
$custom: #3d1b63;
$custom-light: #765a90;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1b63",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 268.333,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31332,
    "c": 0.12087,
    "h": 301.3
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#3D1B63
secondary
#6F9841
accent
#E04798
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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