#3D246E#3D246E

#3D246E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.6% C 0.122 H 294.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#3D246E
RGBrgb(61, 36, 110)
HSLhsl(260, 51%, 29%)
HSVhsv(260, 67%, 43%)
CMYKcmyk(44.5%, 67.3%, 0%, 56.9%)
CIE-LABlab(21.50, 30.19, -38.90)
CIE-LCHlch(21.50, 49.25, 307.82°)
OKLaboklab(33.63% 0.0505 -0.111)
OKLCHoklch(33.63% 0.122 294.5)
XYZxyz(5.3691, 3.3795, 15.1183)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D246E #556E24
analogous
#24306E #3D246E #62246E
triadic
#3D246E #6E3D24 #246E3D
tetradic
#3D246E #6E2430 #556E24 #246E62
square
#3D246E #6E2430 #556E24 #246E62
split-complementary
#3D246E #6E6224 #306E24
monochromatic
#0D0817 #231540 #3D246E #57339C #7249C3

Accessibility & contrast

On white

12.53
#3D246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3D246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D246E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D246E#FFFFFF#000000##FFFFFF
##3D246E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#303545
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d246e;
/* rgb */ color: rgb(61, 36, 110);
/* oklch */ color: oklch(33.6% 0.122 294.5);
Tailwind
colors: {
  custom: {
    50: '#776098',
    500: '#3d246e',
    950: '#000000',
  },
}
SCSS
$custom: #3d246e;
$custom-light: #776098;
$custom-dark: #000000;
JSON
{
  "hex": "#3d246e",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 260.27,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33633,
    "c": 0.122,
    "h": 294.5
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#3D246E
secondary
#85A14D
accent
#DA4EAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D246E

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

Preview Lab → · Contrast checker → · Palette generator →

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