#3D307C#3D307C

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

Color values

HEX#3D307C
RGBrgb(61, 48, 124)
HSLhsl(250, 44%, 34%)
HSVhsv(250, 61%, 49%)
CMYKcmyk(50.8%, 61.3%, 0%, 51.4%)
CIE-LABlab(25.45, 27.06, -41.46)
CIE-LCHlch(25.45, 49.51, 303.13°)
OKLaboklab(36.86% 0.0351 -0.1186)
OKLCHoklch(36.86% 0.124 286.5)
XYZxyz(6.6184, 4.5609, 19.5965)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D307C #6F7C30
analogous
#30497C #3D307C #63307C
triadic
#3D307C #7C3D30 #307C3D
tetradic
#3D307C #7C3049 #6F7C30 #307C63
square
#3D307C #7C3049 #6F7C30 #307C63
split-complementary
#3D307C #7C6330 #497C30
monochromatic
#120E24 #271F50 #3D307C #5341A8 #7464C3

Accessibility & contrast

On white

10.98
#3D307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3D307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D307C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D307C#FFFFFF#000000##FFFFFF
##3D307C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#274151
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d307c;
/* rgb */ color: rgb(61, 48, 124);
/* oklch */ color: oklch(36.9% 0.124 286.5);
Tailwind
colors: {
  custom: {
    50: '#7869a2',
    500: '#3d307c',
    950: '#000000',
  },
}
SCSS
$custom: #3d307c;
$custom-light: #7869a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d307c",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 250.263,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36856,
    "c": 0.12365,
    "h": 286.5
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#3D307C
secondary
#9DAA5E
accent
#D454BE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D307C

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

Preview Lab → · Contrast checker → · Palette generator →

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