#3D246F#3D246F

#3D246F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.123 H 294.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#3D246F
RGBrgb(61, 36, 111)
HSLhsl(260, 51%, 29%)
HSVhsv(260, 68%, 44%)
CMYKcmyk(45%, 67.6%, 0%, 56.5%)
CIE-LABlab(21.58, 30.49, -39.42)
CIE-LCHlch(21.58, 49.84, 307.73°)
OKLaboklab(33.72% 0.0504 -0.1126)
OKLCHoklch(33.72% 0.123 294.1)
XYZxyz(5.4238, 3.4014, 15.4066)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D246F #566F24
analogous
#24316F #3D246F #63246F
triadic
#3D246F #6F3D24 #246F3D
tetradic
#3D246F #6F2431 #566F24 #246F63
square
#3D246F #6F2431 #566F24 #246F63
split-complementary
#3D246F #6F6324 #316F24
monochromatic
#0D0717 #241541 #3D246F #56339D #7249C4

Accessibility & contrast

On white

12.50
#3D246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D246F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D246F#FFFFFF#000000##FFFFFF
##3D246F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#2F3546
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d246f;
/* rgb */ color: rgb(61, 36, 111);
/* oklch */ color: oklch(33.7% 0.123 294.1);
Tailwind
colors: {
  custom: {
    50: '#776099',
    500: '#3d246f',
    950: '#000000',
  },
}
SCSS
$custom: #3d246f;
$custom-light: #776099;
$custom-dark: #000000;
JSON
{
  "hex": "#3d246f",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 260,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33717,
    "c": 0.12333,
    "h": 294.1
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#3D246F
secondary
#86A24D
accent
#DA4DAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D246F

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

Preview Lab → · Contrast checker → · Palette generator →

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