#3D0F63#3D0F63

#3D0F63 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.136 H 303.7°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#3D0F63
RGBrgb(61, 15, 99)
HSLhsl(273, 74%, 22%)
HSVhsv(273, 85%, 39%)
CMYKcmyk(38.4%, 84.8%, 0%, 61.2%)
CIE-LABlab(16.67, 37.97, -39.57)
CIE-LCHlch(16.67, 54.84, 313.82°)
OKLaboklab(29.9% 0.0752 -0.1129)
OKLCHoklch(29.9% 0.136 303.7)
XYZxyz(4.3469, 2.2346, 12.0043)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F63 #35630F
analogous
#130F63 #3D0F63 #630F5F
triadic
#3D0F63 #633D0F #0F633D
tetradic
#3D0F63 #63130F #35630F #0F5F63
square
#3D0F63 #63130F #35630F #0F5F63
split-complementary
#3D0F63 #5F630F #0F6313
monochromatic
#10041B #1C072E #3D0F63 #5E1798 #7E1FCD

Accessibility & contrast

On white

14.51
#3D0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F63
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F63#FFFFFF#000000##FFFFFF
##3D0F631.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#352639
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d0f63;
/* rgb */ color: rgb(61, 15, 99);
/* oklch */ color: oklch(29.9% 0.136 303.7);
Tailwind
colors: {
  custom: {
    50: '#775490',
    500: '#3d0f63',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f63;
$custom-light: #775490;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f63",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 272.857,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29901,
    "c": 0.13561,
    "h": 303.7
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#3D0F63
secondary
#629C32
accent
#F0378B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3D0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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