#3D0F68#3D0F68

#3D0F68 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.141 H 301.4°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3D0F68
RGBrgb(61, 15, 104)
HSLhsl(271, 75%, 23%)
HSVhsv(271, 86%, 41%)
CMYKcmyk(41.3%, 85.6%, 0%, 59.2%)
CIE-LABlab(17.15, 39.25, -42.09)
CIE-LCHlch(17.15, 57.55, 313.00°)
OKLaboklab(30.38% 0.0735 -0.1203)
OKLCHoklch(30.38% 0.141 301.4)
XYZxyz(4.5934, 2.3332, 13.3024)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F68 #3A680F
analogous
#100F68 #3D0F68 #680F66
triadic
#3D0F68 #683D0F #0F683D
tetradic
#3D0F68 #68100F #3A680F #0F6668
square
#3D0F68 #68100F #3A680F #0F6668
split-complementary
#3D0F68 #66680F #0F6810
monochromatic
#10041B #1E0733 #3D0F68 #5C179D #7C1ED3

Accessibility & contrast

On white

14.32
#3D0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F68
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F68#FFFFFF#000000##FFFFFF
##3D0F681.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#33283C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d0f68;
/* rgb */ color: rgb(61, 15, 104);
/* oklch */ color: oklch(30.4% 0.141 301.4);
Tailwind
colors: {
  custom: {
    50: '#785494',
    500: '#3d0f68',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f68;
$custom-light: #785494;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f68",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 271.011,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30377,
    "c": 0.14098,
    "h": 301.4
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#3D0F68
secondary
#68A132
accent
#F13691
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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