#3D0E57#3D0E57

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

Color values

HEX#3D0E57
RGBrgb(61, 14, 87)
HSLhsl(279, 72%, 20%)
HSVhsv(279, 84%, 34%)
CMYKcmyk(29.9%, 83.9%, 0%, 65.9%)
CIE-LABlab(15.46, 35.40, -33.52)
CIE-LCHlch(15.46, 48.75, 316.56°)
OKLaboklab(28.72% 0.0794 -0.0951)
OKLCHoklch(28.72% 0.124 309.9)
XYZxyz(3.8015, 1.9944, 9.1997)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E57 #28570E
analogous
#190E57 #3D0E57 #570E4D
triadic
#3D0E57 #573D0E #0E573D
tetradic
#3D0E57 #57190E #28570E #0E4D57
square
#3D0E57 #57190E #28570E #0E4D57
split-complementary
#3D0E57 #4D570E #0E5719
monochromatic
#12041A #180622 #3D0E57 #62168C #871FC0

Accessibility & contrast

On white

15.01
#3D0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0E57
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E57#FFFFFF#000000##FFFFFF
##3D0E571.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#392032
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0e57;
/* rgb */ color: rgb(61, 14, 87);
/* oklch */ color: oklch(28.7% 0.124 309.9);
Tailwind
colors: {
  custom: {
    50: '#765387',
    500: '#3d0e57',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e57;
$custom-light: #765387;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e57",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 278.63,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28716,
    "c": 0.12391,
    "h": 309.9
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#3D0E57
secondary
#529130
accent
#EF397A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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