#3D0F66#3D0F66

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

Color values

HEX#3D0F66
RGBrgb(61, 15, 102)
HSLhsl(272, 74%, 23%)
HSVhsv(272, 85%, 40%)
CMYKcmyk(40.2%, 85.3%, 0%, 60%)
CIE-LABlab(16.96, 38.74, -41.09)
CIE-LCHlch(16.96, 56.47, 313.31°)
OKLaboklab(30.19% 0.0742 -0.1173)
OKLCHoklch(30.19% 0.139 302.3)
XYZxyz(4.4930, 2.2930, 12.7737)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F66 #38660F
analogous
#110F66 #3D0F66 #660F63
triadic
#3D0F66 #663D0F #0F663D
tetradic
#3D0F66 #66110F #38660F #0F6366
square
#3D0F66 #66110F #38660F #0F6366
split-complementary
#3D0F66 #63660F #0F6611
monochromatic
#10041B #1D0731 #3D0F66 #5D179B #7D1FD1

Accessibility & contrast

On white

14.40
#3D0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F66
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F66#FFFFFF#000000##FFFFFF
##3D0F661.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#34273B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d0f66;
/* rgb */ color: rgb(61, 15, 102);
/* oklch */ color: oklch(30.2% 0.139 302.3);
Tailwind
colors: {
  custom: {
    50: '#785492',
    500: '#3d0f66',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f66;
$custom-light: #785492;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f66",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 271.724,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30185,
    "c": 0.13884,
    "h": 302.3
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#3D0F66
secondary
#659F32
accent
#F1378F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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