#3D1263#3D1263

#3D1263 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.132 H 303.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3D1263
RGBrgb(61, 18, 99)
HSLhsl(272, 69%, 23%)
HSVhsv(272, 82%, 39%)
CMYKcmyk(38.4%, 81.8%, 0%, 61.2%)
CIE-LABlab(17.11, 36.71, -38.85)
CIE-LCHlch(17.11, 53.45, 313.37°)
OKLaboklab(30.21% 0.0725 -0.1108)
OKLCHoklch(30.21% 0.132 303.2)
XYZxyz(4.3924, 2.3256, 12.0194)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1263 #386312
analogous
#141263 #3D1263 #631260
triadic
#3D1263 #633D12 #12633D
tetradic
#3D1263 #631412 #386312 #126063
square
#3D1263 #631412 #386312 #126063
split-complementary
#3D1263 #606312 #126314
monochromatic
#10051A #1D092F #3D1263 #5D1B97 #7D25CB

Accessibility & contrast

On white

14.33
#3D1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1263
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1263#FFFFFF#000000##FFFFFF
##3D12631.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#35273A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1263;
/* rgb */ color: rgb(61, 18, 99);
/* oklch */ color: oklch(30.2% 0.132 303.2);
Tailwind
colors: {
  custom: {
    50: '#775590',
    500: '#3d1263',
    950: '#000000',
  },
}
SCSS
$custom: #3d1263;
$custom-light: #775590;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1263",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 271.852,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30207,
    "c": 0.1324,
    "h": 303.2
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#3D1263
secondary
#659B36
accent
#EC3C8E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3D1263

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

Preview Lab → · Contrast checker → · Palette generator →

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