#3D1765#3D1765

#3D1765 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.129 H 301.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#3D1765
RGBrgb(61, 23, 101)
HSLhsl(269, 63%, 24%)
HSVhsv(269, 77%, 40%)
CMYKcmyk(39.6%, 77.2%, 0%, 60.4%)
CIE-LABlab(18.12, 34.87, -38.53)
CIE-LCHlch(18.12, 51.97, 312.15°)
OKLaboklab(30.97% 0.0669 -0.1099)
OKLCHoklch(30.97% 0.129 301.3)
XYZxyz(4.5793, 2.5445, 12.5593)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1765 #3F6517
analogous
#171865 #3D1765 #641765
triadic
#3D1765 #653D17 #17653D
tetradic
#3D1765 #651718 #3F6517 #176564
square
#3D1765 #651718 #3F6517 #176564
split-complementary
#3D1765 #656417 #186517
monochromatic
#0F0619 #1F0C33 #3D1765 #5B2297 #792EC9

Accessibility & contrast

On white

13.92
#3D1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3D1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1765
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1765#FFFFFF#000000##FFFFFF
##3D17651.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#342A3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1765;
/* rgb */ color: rgb(61, 23, 101);
/* oklch */ color: oklch(31.0% 0.129 301.3);
Tailwind
colors: {
  custom: {
    50: '#775892',
    500: '#3d1765',
    950: '#000000',
  },
}
SCSS
$custom: #3d1765;
$custom-light: #775892;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1765",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 269.231,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30972,
    "c": 0.12868,
    "h": 301.3
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#3D1765
secondary
#6D9B3C
accent
#E64296
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1765

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

Preview Lab → · Contrast checker → · Palette generator →

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