#3D296E#3D296E

#3D296E is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.5% C 0.114 H 292.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#3D296E
RGBrgb(61, 41, 110)
HSLhsl(257, 46%, 30%)
HSVhsv(257, 63%, 43%)
CMYKcmyk(44.5%, 62.7%, 0%, 56.9%)
CIE-LABlab(22.67, 27.09, -37.02)
CIE-LCHlch(22.67, 45.88, 306.20°)
OKLaboklab(34.48% 0.0443 -0.1055)
OKLCHoklch(34.48% 0.114 292.8)
XYZxyz(5.5311, 3.7036, 15.1723)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D296E #5A6E29
analogous
#29386E #3D296E #5F296E
triadic
#3D296E #6E3D29 #296E3D
tetradic
#3D296E #6E2938 #5A6E29 #296E5F
square
#3D296E #6E2938 #5A6E29 #296E5F
split-complementary
#3D296E #6E5F29 #386E29
monochromatic
#0C0816 #241841 #3D296E #563A9B #7253BF

Accessibility & contrast

On white

12.06
#3D296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3D296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D296E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D296E#FFFFFF#000000##FFFFFF
##3D296E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#303847
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d296e;
/* rgb */ color: rgb(61, 41, 110);
/* oklch */ color: oklch(34.5% 0.114 292.8);
Tailwind
colors: {
  custom: {
    50: '#776398',
    500: '#3d296e',
    950: '#000000',
  },
}
SCSS
$custom: #3d296e;
$custom-light: #776398;
$custom-dark: #000000;
JSON
{
  "hex": "#3d296e",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 257.391,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34479,
    "c": 0.11443,
    "h": 292.8
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#3D296E
secondary
#8AA053
accent
#D552AF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3D296E

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

Preview Lab → · Contrast checker → · Palette generator →

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