#3D246A#3D246A

#3D246A is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.3% C 0.117 H 295.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#3D246A
RGBrgb(61, 36, 106)
HSLhsl(261, 49%, 28%)
HSVhsv(261, 66%, 42%)
CMYKcmyk(42.5%, 66%, 0%, 58.4%)
CIE-LABlab(21.19, 28.99, -36.82)
CIE-LCHlch(21.19, 46.87, 308.21°)
OKLaboklab(33.3% 0.0509 -0.1049)
OKLCHoklch(33.3% 0.117 295.9)
XYZxyz(5.1562, 3.2944, 13.9971)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D246A #516A24
analogous
#242E6A #3D246A #60246A
triadic
#3D246A #6A3D24 #246A3D
tetradic
#3D246A #6A242E #516A24 #246A60
square
#3D246A #6A242E #516A24 #246A60
split-complementary
#3D246A #6A6024 #2E6A24
monochromatic
#0D0817 #23143C #3D246A #573498 #7348C1

Accessibility & contrast

On white

12.66
#3D246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3D246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D246A
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D246A#FFFFFF#000000##FFFFFF
##3D246A1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#323443
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d246a;
/* rgb */ color: rgb(61, 36, 106);
/* oklch */ color: oklch(33.3% 0.117 295.9);
Tailwind
colors: {
  custom: {
    50: '#766095',
    500: '#3d246a',
    950: '#000000',
  },
}
SCSS
$custom: #3d246a;
$custom-light: #766095;
$custom-dark: #000000;
JSON
{
  "hex": "#3d246a",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 261.429,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33302,
    "c": 0.11662,
    "h": 295.9
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#3D246A
secondary
#809D4D
accent
#D94FA8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D246A

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

Preview Lab → · Contrast checker → · Palette generator →

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