#3D0F6A#3D0F6A

#3D0F6A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.143 H 300.6°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#3D0F6A
RGBrgb(61, 15, 106)
HSLhsl(270, 75%, 24%)
HSVhsv(270, 86%, 42%)
CMYKcmyk(42.5%, 85.8%, 0%, 58.4%)
CIE-LABlab(17.34, 39.76, -43.08)
CIE-LCHlch(17.34, 58.63, 312.71°)
OKLaboklab(30.57% 0.0728 -0.1232)
OKLCHoklch(30.57% 0.143 300.6)
XYZxyz(4.6962, 2.3743, 13.8437)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F6A #3C6A0F
analogous
#0F0F6A #3D0F6A #6A0F69
triadic
#3D0F6A #6A3D0F #0F6A3D
tetradic
#3D0F6A #6A0F0F #3C6A0F #0F696A
square
#3D0F6A #6A0F0F #3C6A0F #0F696A
split-complementary
#3D0F6A #696A0F #0F6A0F
monochromatic
#0F041B #1E0734 #3D0F6A #5C17A0 #7B1ED5

Accessibility & contrast

On white

14.24
#3D0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F6A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F6A#FFFFFF#000000##FFFFFF
##3D0F6A1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#32293D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d0f6a;
/* rgb */ color: rgb(61, 15, 106);
/* oklch */ color: oklch(30.6% 0.143 300.6);
Tailwind
colors: {
  custom: {
    50: '#785495',
    500: '#3d0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f6a;
$custom-light: #785495;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f6a",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 270.33,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3057,
    "c": 0.14313,
    "h": 300.6
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#3D0F6A
secondary
#6AA232
accent
#F23693
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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