#3D307D#3D307D

#3D307D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 36.9% C 0.125 H 286.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3D307D
RGBrgb(61, 48, 125)
HSLhsl(250, 45%, 34%)
HSVhsv(250, 62%, 49%)
CMYKcmyk(51.2%, 61.6%, 0%, 51%)
CIE-LABlab(25.52, 27.38, -41.97)
CIE-LCHlch(25.52, 50.11, 303.12°)
OKLaboklab(36.94% 0.0351 -0.12)
OKLCHoklch(36.94% 0.125 286.3)
XYZxyz(6.6820, 4.5864, 19.9312)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D307D #707D30
analogous
#304A7D #3D307D #64307D
triadic
#3D307D #7D3D30 #307D3D
tetradic
#3D307D #7D304A #707D30 #307D64
square
#3D307D #7D304A #707D30 #307D64
split-complementary
#3D307D #7D6430 #4A7D30
monochromatic
#120E25 #271F51 #3D307D #5341A9 #7464C3

Accessibility & contrast

On white

10.95
#3D307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3D307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D307D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D307D#FFFFFF#000000##FFFFFF
##3D307D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#264251
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d307d;
/* rgb */ color: rgb(61, 48, 125);
/* oklch */ color: oklch(36.9% 0.125 286.3);
Tailwind
colors: {
  custom: {
    50: '#7869a3',
    500: '#3d307d',
    950: '#000000',
  },
}
SCSS
$custom: #3d307d;
$custom-light: #7869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d307d",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 250.13,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36937,
    "c": 0.12507,
    "h": 286.3
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#3D307D
secondary
#9EAB5E
accent
#D454BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D307D

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

Preview Lab → · Contrast checker → · Palette generator →

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