#3D246D#3D246D

#3D246D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.5% C 0.121 H 294.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#3D246D
RGBrgb(61, 36, 109)
HSLhsl(261, 50%, 28%)
HSVhsv(261, 67%, 43%)
CMYKcmyk(44%, 67%, 0%, 57.3%)
CIE-LABlab(21.42, 29.89, -38.39)
CIE-LCHlch(21.42, 48.65, 307.91°)
OKLaboklab(33.55% 0.0506 -0.1095)
OKLCHoklch(33.55% 0.121 294.8)
XYZxyz(5.3149, 3.3579, 14.8331)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D246D #546D24
analogous
#242F6D #3D246D #61246D
triadic
#3D246D #6D3D24 #246D3D
tetradic
#3D246D #6D242F #546D24 #246D61
square
#3D246D #6D242F #546D24 #246D61
split-complementary
#3D246D #6D6124 #2F6D24
monochromatic
#0D0817 #23153F #3D246D #57339B #7249C3

Accessibility & contrast

On white

12.56
#3D246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D246D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D246D#FFFFFF#000000##FFFFFF
##3D246D1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#303545
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d246d;
/* rgb */ color: rgb(61, 36, 109);
/* oklch */ color: oklch(33.5% 0.121 294.8);
Tailwind
colors: {
  custom: {
    50: '#776097',
    500: '#3d246d',
    950: '#000000',
  },
}
SCSS
$custom: #3d246d;
$custom-light: #776097;
$custom-dark: #000000;
JSON
{
  "hex": "#3d246d",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 260.548,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33549,
    "c": 0.12066,
    "h": 294.8
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#3D246D
secondary
#84A04D
accent
#DA4EAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D246D

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

Preview Lab → · Contrast checker → · Palette generator →

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