#3D1769#3D1769

#3D1769 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.133 H 299.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#3D1769
RGBrgb(61, 23, 105)
HSLhsl(268, 64%, 25%)
HSVhsv(268, 78%, 41%)
CMYKcmyk(41.9%, 78.1%, 0%, 58.8%)
CIE-LABlab(18.47, 35.96, -40.58)
CIE-LCHlch(18.47, 54.22, 311.55°)
OKLaboklab(31.33% 0.066 -0.1159)
OKLCHoklch(31.33% 0.133 299.7)
XYZxyz(4.7800, 2.6248, 13.6167)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1769 #436917
analogous
#171A69 #3D1769 #661769
triadic
#3D1769 #693D17 #17693D
tetradic
#3D1769 #69171A #436917 #176966
square
#3D1769 #69171A #436917 #176966
split-complementary
#3D1769 #696617 #1A6917
monochromatic
#0F0519 #200C37 #3D1769 #5A229B #772DCD

Accessibility & contrast

On white

13.77
#3D1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1769
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1769#FFFFFF#000000##FFFFFF
##3D17691.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#332C3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1769;
/* rgb */ color: rgb(61, 23, 105);
/* oklch */ color: oklch(31.3% 0.133 299.7);
Tailwind
colors: {
  custom: {
    50: '#775895',
    500: '#3d1769',
    950: '#000000',
  },
}
SCSS
$custom: #3d1769;
$custom-light: #775895;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1769",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 267.805,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31334,
    "c": 0.13337,
    "h": 299.7
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#3D1769
secondary
#729F3D
accent
#E7419A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1769

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

Preview Lab → · Contrast checker → · Palette generator →

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