#3D0E58#3D0E58

#3D0E58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.125 H 309.3°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#3D0E58
RGBrgb(61, 14, 88)
HSLhsl(278, 73%, 20%)
HSVhsv(278, 84%, 35%)
CMYKcmyk(30.7%, 84.1%, 0%, 65.5%)
CIE-LABlab(15.54, 35.64, -34.06)
CIE-LCHlch(15.54, 49.30, 316.30°)
OKLaboklab(28.8% 0.0792 -0.0967)
OKLCHoklch(28.8% 0.125 309.3)
XYZxyz(3.8426, 2.0108, 9.4163)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E58 #29580E
analogous
#180E58 #3D0E58 #580E4E
triadic
#3D0E58 #583D0E #0E583D
tetradic
#3D0E58 #58180E #29580E #0E4E58
square
#3D0E58 #58180E #29580E #0E4E58
split-complementary
#3D0E58 #4E580E #0E5818
monochromatic
#12041A #180623 #3D0E58 #62168D #861FC2

Accessibility & contrast

On white

14.98
#3D0E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D0E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0E58
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E58#FFFFFF#000000##FFFFFF
##3D0E581.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d0e58;
/* rgb */ color: rgb(61, 14, 88);
/* oklch */ color: oklch(28.8% 0.125 309.3);
Tailwind
colors: {
  custom: {
    50: '#765388',
    500: '#3d0e58',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e58;
$custom-light: #765388;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e58",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 88
  },
  "hsl": {
    "h": 278.108,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.28804,
    "c": 0.12497,
    "h": 309.3
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#3D0E58
secondary
#549230
accent
#EF397B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0E58

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

Preview Lab → · Contrast checker → · Palette generator →

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