#3D0E5C#3D0E5C

#3D0E5C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.129 H 307.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#3D0E5C
RGBrgb(61, 14, 92)
HSLhsl(276, 74%, 21%)
HSVhsv(276, 85%, 36%)
CMYKcmyk(33.7%, 84.8%, 0%, 63.9%)
CIE-LABlab(15.90, 36.62, -36.17)
CIE-LCHlch(15.90, 51.48, 315.35°)
OKLaboklab(29.16% 0.0781 -0.1029)
OKLCHoklch(29.16% 0.129 307.2)
XYZxyz(4.0129, 2.0789, 10.3130)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E5C #2D5C0E
analogous
#160E5C #3D0E5C #5C0E54
triadic
#3D0E5C #5C3D0E #0E5C3D
tetradic
#3D0E5C #5C160E #2D5C0E #0E545C
square
#3D0E5C #5C160E #2D5C0E #0E545C
split-complementary
#3D0E5C #545C0E #0E5C16
monochromatic
#12041B #1A0627 #3D0E5C #601691 #831EC6

Accessibility & contrast

On white

14.83
#3D0E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3D0E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0E5C
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E5C#FFFFFF#000000##FFFFFF
##3D0E5C1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#382235
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d0e5c;
/* rgb */ color: rgb(61, 14, 92);
/* oklch */ color: oklch(29.2% 0.129 307.2);
Tailwind
colors: {
  custom: {
    50: '#76538b',
    500: '#3d0e5c',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e5c;
$custom-light: #76538b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e5c",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 92
  },
  "hsl": {
    "h": 276.154,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29161,
    "c": 0.12919,
    "h": 307.2
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#3D0E5C
secondary
#589630
accent
#F03881
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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