#3D1265#3D1265

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

Color values

HEX#3D1265
RGBrgb(61, 18, 101)
HSLhsl(271, 70%, 23%)
HSVhsv(271, 82%, 40%)
CMYKcmyk(39.6%, 82.2%, 0%, 60.4%)
CIE-LABlab(17.29, 37.23, -39.88)
CIE-LCHlch(17.29, 54.55, 313.03°)
OKLaboklab(30.39% 0.0719 -0.1138)
OKLCHoklch(30.39% 0.135 302.3)
XYZxyz(4.4892, 2.3643, 12.5292)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1265 #3A6512
analogous
#131265 #3D1265 #651263
triadic
#3D1265 #653D12 #12653D
tetradic
#3D1265 #651312 #3A6512 #126365
square
#3D1265 #651312 #3A6512 #126365
split-complementary
#3D1265 #636512 #126513
monochromatic
#10051A #1E0931 #3D1265 #5C1B99 #7C25CD

Accessibility & contrast

On white

14.26
#3D1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3D1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1265
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1265#FFFFFF#000000##FFFFFF
##3D12651.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#34283B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1265;
/* rgb */ color: rgb(61, 18, 101);
/* oklch */ color: oklch(30.4% 0.135 302.3);
Tailwind
colors: {
  custom: {
    50: '#775592',
    500: '#3d1265',
    950: '#000000',
  },
}
SCSS
$custom: #3d1265;
$custom-light: #775592;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1265",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 271.084,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30392,
    "c": 0.13462,
    "h": 302.3
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#3D1265
secondary
#689D36
accent
#ED3B91
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1265

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

Preview Lab → · Contrast checker → · Palette generator →

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