#3D246C#3D246C

#3D246C is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.5% C 0.119 H 295.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#3D246C
RGBrgb(61, 36, 108)
HSLhsl(261, 50%, 28%)
HSVhsv(261, 67%, 42%)
CMYKcmyk(43.5%, 66.7%, 0%, 57.6%)
CIE-LABlab(21.34, 29.59, -37.87)
CIE-LCHlch(21.34, 48.06, 308.01°)
OKLaboklab(33.47% 0.0507 -0.108)
OKLCHoklch(33.47% 0.119 295.2)
XYZxyz(5.2614, 3.3364, 14.5512)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D246C #536C24
analogous
#242F6C #3D246C #61246C
triadic
#3D246C #6C3D24 #246C3D
tetradic
#3D246C #6C242F #536C24 #246C61
square
#3D246C #6C242F #536C24 #246C61
split-complementary
#3D246C #6C6124 #2F6C24
monochromatic
#0D0817 #23153E #3D246C #57339A #7348C2

Accessibility & contrast

On white

12.59
#3D246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3D246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D246C
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D246C#FFFFFF#000000##FFFFFF
##3D246C1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#313444
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d246c;
/* rgb */ color: rgb(61, 36, 108);
/* oklch */ color: oklch(33.5% 0.119 295.2);
Tailwind
colors: {
  custom: {
    50: '#776097',
    500: '#3d246c',
    950: '#000000',
  },
}
SCSS
$custom: #3d246c;
$custom-light: #776097;
$custom-dark: #000000;
JSON
{
  "hex": "#3d246c",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 260.833,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33466,
    "c": 0.11931,
    "h": 295.2
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#3D246C
secondary
#839F4D
accent
#DA4EA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D246C

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

Preview Lab → · Contrast checker → · Palette generator →

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