#3D1368#3D1368

#3D1368 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.137 H 300.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#3D1368
RGBrgb(61, 19, 104)
HSLhsl(270, 69%, 24%)
HSVhsv(270, 82%, 41%)
CMYKcmyk(41.3%, 81.7%, 0%, 59.2%)
CIE-LABlab(17.72, 37.58, -41.15)
CIE-LCHlch(17.72, 55.72, 312.40°)
OKLaboklab(30.78% 0.0701 -0.1175)
OKLCHoklch(30.78% 0.137 300.8)
XYZxyz(4.6554, 2.4573, 13.3231)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1368 #3E6813
analogous
#131468 #3D1368 #681368
triadic
#3D1368 #683D13 #13683D
tetradic
#3D1368 #681314 #3E6813 #136868
square
#3D1368 #681314 #3E6813 #136868
split-complementary
#3D1368 #686813 #146813
monochromatic
#0F051A #1F0A34 #3D1368 #5B1C9C #7A26CF

Accessibility & contrast

On white

14.08
#3D1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3D1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1368
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1368#FFFFFF#000000##FFFFFF
##3D13681.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#332A3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1368;
/* rgb */ color: rgb(61, 19, 104);
/* oklch */ color: oklch(30.8% 0.137 300.8);
Tailwind
colors: {
  custom: {
    50: '#775694',
    500: '#3d1368',
    950: '#000000',
  },
}
SCSS
$custom: #3d1368;
$custom-light: #775694;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1368",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 269.647,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30779,
    "c": 0.13686,
    "h": 300.8
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#3D1368
secondary
#6C9F37
accent
#EC3C95
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1368

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

Preview Lab → · Contrast checker → · Palette generator →

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