#3D107E#3D107E

#3D107E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.164 H 293.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#3D107E
RGBrgb(61, 16, 126)
HSLhsl(265, 77%, 28%)
HSVhsv(265, 87%, 49%)
CMYKcmyk(51.6%, 87.3%, 0%, 50.6%)
CIE-LABlab(19.51, 44.63, -52.42)
CIE-LCHlch(19.51, 68.85, 310.41°)
OKLaboklab(32.68% 0.0646 -0.1506)
OKLCHoklch(32.68% 0.164 293.2)
XYZxyz(5.8746, 2.8688, 19.9788)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D107E #517E10
analogous
#101A7E #3D107E #74107E
triadic
#3D107E #7E3D10 #107E3D
tetradic
#3D107E #7E101A #517E10 #107E74
square
#3D107E #7E101A #517E10 #107E74
split-complementary
#3D107E #7E7410 #1A7E10
monochromatic
#0D031B #230948 #3D107E #5717B4 #7325E3

Accessibility & contrast

On white

13.34
#3D107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3D107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D107E
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D107E#FFFFFF#000000##FFFFFF
##3D107E1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#283249
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d107e;
/* rgb */ color: rgb(61, 16, 126);
/* oklch */ color: oklch(32.7% 0.164 293.2);
Tailwind
colors: {
  custom: {
    50: '#7b56a4',
    500: '#3d107e',
    950: '#000000',
  },
}
SCSS
$custom: #3d107e;
$custom-light: #7b56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d107e",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 264.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32685,
    "c": 0.16382,
    "h": 293.2
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#3D107E
secondary
#80B436
accent
#F434A5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3D107E

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

Preview Lab → · Contrast checker → · Palette generator →

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