#3D1366#3D1366

#3D1366 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.135 H 301.7°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#3D1366
RGBrgb(61, 19, 102)
HSLhsl(270, 69%, 24%)
HSVhsv(270, 81%, 40%)
CMYKcmyk(40.2%, 81.4%, 0%, 60%)
CIE-LABlab(17.54, 37.05, -40.13)
CIE-LCHlch(17.54, 54.62, 312.71°)
OKLaboklab(30.59% 0.0707 -0.1146)
OKLCHoklch(30.59% 0.135 301.7)
XYZxyz(4.5550, 2.4171, 12.7944)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1366 #3C6613
analogous
#131366 #3D1366 #661365
triadic
#3D1366 #663D13 #13663D
tetradic
#3D1366 #661313 #3C6613 #136566
square
#3D1366 #661313 #3C6613 #136566
split-complementary
#3D1366 #656613 #136613
monochromatic
#0F051A #1E0932 #3D1366 #5C1D9A #7B26CD

Accessibility & contrast

On white

14.16
#3D1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3D1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1366
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1366#FFFFFF#000000##FFFFFF
##3D13661.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#34293C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1366;
/* rgb */ color: rgb(61, 19, 102);
/* oklch */ color: oklch(30.6% 0.135 301.7);
Tailwind
colors: {
  custom: {
    50: '#775692',
    500: '#3d1366',
    950: '#000000',
  },
}
SCSS
$custom: #3d1366;
$custom-light: #775692;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1366",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 270.361,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30593,
    "c": 0.13463,
    "h": 301.7
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#3D1366
secondary
#6A9D37
accent
#EB3C93
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1366

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

Preview Lab → · Contrast checker → · Palette generator →

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