#3D255D#3D255D

#3D255D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.097 H 300.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#3D255D
RGBrgb(61, 37, 93)
HSLhsl(266, 43%, 25%)
HSVhsv(266, 60%, 36%)
CMYKcmyk(34.4%, 60.2%, 0%, 63.5%)
CIE-LABlab(20.46, 24.54, -29.47)
CIE-LCHlch(20.46, 38.35, 309.79°)
OKLaboklab(32.47% 0.0499 -0.0833)
OKLCHoklch(32.47% 0.097 300.9)
XYZxyz(4.5614, 3.1055, 10.7129)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D255D #455D25
analogous
#25295D #3D255D #59255D
triadic
#3D255D #5D3D25 #255D3D
tetradic
#3D255D #5D2529 #455D25 #255D59
square
#3D255D #5D2529 #455D25 #255D59
split-complementary
#3D255D #5D5925 #295D25
monochromatic
#0E0916 #201431 #3D255D #5A3689 #7648B5

Accessibility & contrast

On white

12.95
#3D255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3D255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D255D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D255D#FFFFFF#000000##FFFFFF
##3D255D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D315F
Deuteranopia (green-blind)
#16315C
Tritanopia (blue-blind)
#37303D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d255d;
/* rgb */ color: rgb(61, 37, 93);
/* oklch */ color: oklch(32.5% 0.097 300.9);
Tailwind
colors: {
  custom: {
    50: '#75608b',
    500: '#3d255d',
    950: '#000000',
  },
}
SCSS
$custom: #3d255d;
$custom-light: #75608b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d255d",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 265.714,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32466,
    "c": 0.09711,
    "h": 300.9
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#3D255D
secondary
#74904D
accent
#D3559D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3D255D

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

Preview Lab → · Contrast checker → · Palette generator →

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