#3D0F58#3D0F58

#3D0F58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.124 H 309.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3D0F58
RGBrgb(61, 15, 88)
HSLhsl(278, 71%, 20%)
HSVhsv(278, 83%, 35%)
CMYKcmyk(30.7%, 83%, 0%, 65.5%)
CIE-LABlab(15.69, 35.23, -33.83)
CIE-LCHlch(15.69, 48.84, 316.16°)
OKLaboklab(28.9% 0.0782 -0.096)
OKLCHoklch(28.9% 0.124 309.2)
XYZxyz(3.8564, 2.0384, 9.4209)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F58 #2A580F
analogous
#180F58 #3D0F58 #580F4F
triadic
#3D0F58 #583D0F #0F583D
tetradic
#3D0F58 #58180F #2A580F #0F4F58
square
#3D0F58 #58180F #2A580F #0F4F58
split-complementary
#3D0F58 #4F580F #0F5818
monochromatic
#12041A #190624 #3D0F58 #61188C #8521C1

Accessibility & contrast

On white

14.92
#3D0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F58
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F58#FFFFFF#000000##FFFFFF
##3D0F581.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#392133
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0f58;
/* rgb */ color: rgb(61, 15, 88);
/* oklch */ color: oklch(28.9% 0.124 309.2);
Tailwind
colors: {
  custom: {
    50: '#765388',
    500: '#3d0f58',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f58;
$custom-light: #765388;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f58",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 277.808,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28905,
    "c": 0.12383,
    "h": 309.2
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#3D0F58
secondary
#559231
accent
#EE3A7D
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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