#3D0F60#3D0F60

#3D0F60 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.132 H 305.1°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#3D0F60
RGBrgb(61, 15, 96)
HSLhsl(274, 73%, 22%)
HSVhsv(274, 84%, 38%)
CMYKcmyk(36.5%, 84.4%, 0%, 62.4%)
CIE-LABlab(16.40, 37.22, -38.03)
CIE-LCHlch(16.40, 53.21, 314.38°)
OKLaboklab(29.62% 0.0761 -0.1084)
OKLCHoklch(29.62% 0.132 305.1)
XYZxyz(4.2061, 2.1783, 11.2629)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F60 #32600F
analogous
#150F60 #3D0F60 #600F5B
triadic
#3D0F60 #603D0F #0F603D
tetradic
#3D0F60 #60150F #32600F #0F5B60
square
#3D0F60 #60150F #32600F #0F5B60
split-complementary
#3D0F60 #5B600F #0F6015
monochromatic
#11041A #1B072B #3D0F60 #5F1795 #8020CA

Accessibility & contrast

On white

14.63
#3D0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3D0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F60
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F60#FFFFFF#000000##FFFFFF
##3D0F601.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#362438
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d0f60;
/* rgb */ color: rgb(61, 15, 96);
/* oklch */ color: oklch(29.6% 0.132 305.1);
Tailwind
colors: {
  custom: {
    50: '#77548e',
    500: '#3d0f60',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f60;
$custom-light: #77548e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f60",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 274.074,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29623,
    "c": 0.1324,
    "h": 305.1
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#3D0F60
secondary
#5E9932
accent
#F03887
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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