#3D256A#3D256A

#3D256A is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.5% C 0.115 H 295.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#3D256A
RGBrgb(61, 37, 106)
HSLhsl(261, 48%, 28%)
HSVhsv(261, 65%, 42%)
CMYKcmyk(42.5%, 65.1%, 0%, 58.4%)
CIE-LABlab(21.42, 28.38, -36.45)
CIE-LCHlch(21.42, 46.20, 307.90°)
OKLaboklab(33.47% 0.0496 -0.1038)
OKLCHoklch(33.47% 0.115 295.5)
XYZxyz(5.1869, 3.3557, 14.0073)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D256A #526A25
analogous
#252F6A #3D256A #5F256A
triadic
#3D256A #6A3D25 #256A3D
tetradic
#3D256A #6A252F #526A25 #256A5F
square
#3D256A #6A252F #526A25 #256A5F
split-complementary
#3D256A #6A5F25 #2F6A25
monochromatic
#0D0817 #23153D #3D256A #573597 #734AC0

Accessibility & contrast

On white

12.57
#3D256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D256A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D256A#FFFFFF#000000##FFFFFF
##3D256A1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#013269
Tritanopia (blue-blind)
#323443
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d256a;
/* rgb */ color: rgb(61, 37, 106);
/* oklch */ color: oklch(33.5% 0.115 295.5);
Tailwind
colors: {
  custom: {
    50: '#766195',
    500: '#3d256a',
    950: '#000000',
  },
}
SCSS
$custom: #3d256a;
$custom-light: #766195;
$custom-dark: #000000;
JSON
{
  "hex": "#3d256a",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 260.87,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33469,
    "c": 0.11508,
    "h": 295.5
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#3D256A
secondary
#819D4E
accent
#D850A9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D256A

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

Preview Lab → · Contrast checker → · Palette generator →

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