#3D256D#3D256D

#3D256D is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.7% C 0.119 H 294.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#3D256D
RGBrgb(61, 37, 109)
HSLhsl(260, 49%, 29%)
HSVhsv(260, 66%, 43%)
CMYKcmyk(44%, 66.1%, 0%, 57.3%)
CIE-LABlab(21.65, 29.28, -38.02)
CIE-LCHlch(21.65, 47.99, 307.60°)
OKLaboklab(33.71% 0.0494 -0.1084)
OKLCHoklch(33.71% 0.119 294.5)
XYZxyz(5.3456, 3.4192, 14.8434)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D256D #556D25
analogous
#25316D #3D256D #61256D
triadic
#3D256D #6D3D25 #256D3D
tetradic
#3D256D #6D2531 #556D25 #256D61
square
#3D256D #6D2531 #556D25 #256D61
split-complementary
#3D256D #6D6125 #316D25
monochromatic
#0D0817 #23153F #3D256D #57359B #724BC2

Accessibility & contrast

On white

12.47
#3D256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D256D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D256D#FFFFFF#000000##FFFFFF
##3D256D1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#303545
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d256d;
/* rgb */ color: rgb(61, 37, 109);
/* oklch */ color: oklch(33.7% 0.119 294.5);
Tailwind
colors: {
  custom: {
    50: '#776197',
    500: '#3d256d',
    950: '#000000',
  },
}
SCSS
$custom: #3d256d;
$custom-light: #776197;
$custom-dark: #000000;
JSON
{
  "hex": "#3d256d",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 260,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.11916,
    "h": 294.5
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#3D256D
secondary
#85A04E
accent
#D94FAB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D256D

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

Preview Lab → · Contrast checker → · Palette generator →

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