#3D0F74#3D0F74

#3D0F74 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.154 H 296.7°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#3D0F74
RGBrgb(61, 15, 116)
HSLhsl(267, 77%, 26%)
HSVhsv(267, 87%, 45%)
CMYKcmyk(47.4%, 87.1%, 0%, 54.5%)
CIE-LABlab(18.34, 42.36, -47.94)
CIE-LCHlch(18.34, 63.97, 311.46°)
OKLaboklab(31.57% 0.0692 -0.1374)
OKLCHoklch(31.57% 0.154 296.7)
XYZxyz(5.2468, 2.5946, 16.7440)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F74 #46740F
analogous
#0F1374 #3D0F74 #6F0F74
triadic
#3D0F74 #743D0F #0F743D
tetradic
#3D0F74 #740F13 #46740F #0F746F
square
#3D0F74 #740F13 #46740F #0F746F
split-complementary
#3D0F74 #746F0F #13740F
monochromatic
#0E041B #21083E #3D0F74 #5916AA #761DE0

Accessibility & contrast

On white

13.82
#3D0F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3D0F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F74
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F74#FFFFFF#000000##FFFFFF
##3D0F741.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#2E2D43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d0f74;
/* rgb */ color: rgb(61, 15, 116);
/* oklch */ color: oklch(31.6% 0.154 296.7);
Tailwind
colors: {
  custom: {
    50: '#79559d',
    500: '#3d0f74',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f74;
$custom-light: #79559d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f74",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 267.327,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.15386,
    "h": 296.7
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#3D0F74
secondary
#75AC33
accent
#F4349C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D0F74

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

Preview Lab → · Contrast checker → · Palette generator →

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