#3D1260#3D1260

#3D1260 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.129 H 304.6°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#3D1260
RGBrgb(61, 18, 96)
HSLhsl(273, 68%, 22%)
HSVhsv(273, 81%, 38%)
CMYKcmyk(36.5%, 81.3%, 0%, 62.4%)
CIE-LABlab(16.84, 35.93, -37.30)
CIE-LCHlch(16.84, 51.79, 313.93°)
OKLaboklab(29.93% 0.0733 -0.1063)
OKLCHoklch(29.93% 0.129 304.6)
XYZxyz(4.2516, 2.2693, 11.2781)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1260 #356012
analogous
#161260 #3D1260 #60125C
triadic
#3D1260 #603D12 #12603D
tetradic
#3D1260 #601612 #356012 #125C60
square
#3D1260 #601612 #356012 #125C60
split-complementary
#3D1260 #5C6012 #126016
monochromatic
#10051A #1C082C #3D1260 #5E1C94 #7E25C7

Accessibility & contrast

On white

14.44
#3D1260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3D1260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1260
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1260#FFFFFF#000000##FFFFFF
##3D12601.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#362638
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1260;
/* rgb */ color: rgb(61, 18, 96);
/* oklch */ color: oklch(29.9% 0.129 304.6);
Tailwind
colors: {
  custom: {
    50: '#77558e',
    500: '#3d1260',
    950: '#000000',
  },
}
SCSS
$custom: #3d1260;
$custom-light: #77558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1260",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 273.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29934,
    "c": 0.12907,
    "h": 304.6
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#3D1260
secondary
#629836
accent
#EB3D8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1260

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

Preview Lab → · Contrast checker → · Palette generator →

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