#3D345C#3D345C

#3D345C is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.4% C 0.069 H 292.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3D345C
RGBrgb(61, 52, 92)
HSLhsl(254, 28%, 28%)
HSVhsv(254, 43%, 36%)
CMYKcmyk(33.7%, 43.5%, 0%, 63.9%)
CIE-LABlab(24.39, 14.30, -22.57)
CIE-LCHlch(24.39, 26.72, 302.36°)
OKLaboklab(35.38% 0.0267 -0.0632)
OKLCHoklch(35.38% 0.069 292.9)
XYZxyz(5.0837, 4.2207, 10.6700)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D345C #535C34
analogous
#343F5C #3D345C #51345C
triadic
#3D345C #5C3D34 #345C3D
tetradic
#3D345C #5C343F #535C34 #345C51
square
#3D345C #5C343F #535C34 #345C51
split-complementary
#3D345C #5C5134 #3F5C34
monochromatic
#0D0B14 #231E35 #3D345C #574A83 #7363A7

Accessibility & contrast

On white

11.39
#3D345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3D345C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D345C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D345C#FFFFFF#000000##FFFFFF
##3D345C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5E
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#363B43
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d345c;
/* rgb */ color: rgb(61, 52, 92);
/* oklch */ color: oklch(35.4% 0.069 292.9);
Tailwind
colors: {
  custom: {
    50: '#746b8a',
    500: '#3d345c',
    950: '#000000',
  },
}
SCSS
$custom: #3d345c;
$custom-light: #746b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d345c",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 253.5,
    "s": 27.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35383,
    "c": 0.0686,
    "h": 292.9
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#3D345C
secondary
#838D5F
accent
#C464AE
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #3D345C

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

Preview Lab → · Contrast checker → · Palette generator →

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