#3D255C#3D255C

#3D255C is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.4% C 0.096 H 301.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#3D255C
RGBrgb(61, 37, 92)
HSLhsl(266, 43%, 25%)
HSVhsv(266, 60%, 36%)
CMYKcmyk(33.7%, 59.8%, 0%, 63.9%)
CIE-LABlab(20.39, 24.25, -28.91)
CIE-LCHlch(20.39, 37.74, 309.99°)
OKLaboklab(32.39% 0.0499 -0.0817)
OKLCHoklch(32.39% 0.096 301.4)
XYZxyz(4.5174, 3.0879, 10.4812)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D255C #445C25
analogous
#25285C #3D255C #58255C
triadic
#3D255C #5C3D25 #255C3D
tetradic
#3D255C #5C2528 #445C25 #255C58
square
#3D255C #5C2528 #445C25 #255C58
split-complementary
#3D255C #5C5825 #285C25
monochromatic
#0E0916 #201330 #3D255C #5A3788 #7748B3

Accessibility & contrast

On white

12.98
#3D255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D255C
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D255C#FFFFFF#000000##FFFFFF
##3D255C1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315E
Deuteranopia (green-blind)
#17315B
Tritanopia (blue-blind)
#37303C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d255c;
/* rgb */ color: rgb(61, 37, 92);
/* oklch */ color: oklch(32.4% 0.096 301.4);
Tailwind
colors: {
  custom: {
    50: '#75608a',
    500: '#3d255c',
    950: '#000000',
  },
}
SCSS
$custom: #3d255c;
$custom-light: #75608a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d255c",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 266.182,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32393,
    "c": 0.09571,
    "h": 301.4
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#3D255C
secondary
#738F4D
accent
#D2559C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3D255C

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

Preview Lab → · Contrast checker → · Palette generator →

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