#3D225A#3D225A

#3D225A is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.7% C 0.098 H 303.5°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#3D225A
RGBrgb(61, 34, 90)
HSLhsl(269, 45%, 24%)
HSVhsv(269, 62%, 35%)
CMYKcmyk(32.2%, 62.2%, 0%, 64.7%)
CIE-LABlab(19.53, 25.57, -28.96)
CIE-LCHlch(19.53, 38.64, 311.44°)
OKLaboklab(31.72% 0.0542 -0.0818)
OKLCHoklch(31.72% 0.098 303.5)
XYZxyz(4.3415, 2.8743, 9.9970)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D225A #3F5A22
analogous
#22235A #3D225A #59225A
triadic
#3D225A #5A3D22 #225A3D
tetradic
#3D225A #5A2223 #3F5A22 #225A59
square
#3D225A #5A2223 #3F5A22 #225A59
split-complementary
#3D225A #5A5922 #235A22
monochromatic
#0F0816 #1F112E #3D225A #5B3386 #7944B3

Accessibility & contrast

On white

13.34
#3D225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3D225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D225A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D225A#FFFFFF#000000##FFFFFF
##3D225A1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5C
Deuteranopia (green-blind)
#152F59
Tritanopia (blue-blind)
#382D3A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d225a;
/* rgb */ color: rgb(61, 34, 90);
/* oklch */ color: oklch(31.7% 0.098 303.5);
Tailwind
colors: {
  custom: {
    50: '#755e89',
    500: '#3d225a',
    950: '#000000',
  },
}
SCSS
$custom: #3d225a;
$custom-light: #755e89;
$custom-dark: #000000;
JSON
{
  "hex": "#3d225a",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 268.929,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31717,
    "c": 0.09816,
    "h": 303.5
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#3D225A
secondary
#6D8E4A
accent
#D55396
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #3D225A

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

Preview Lab → · Contrast checker → · Palette generator →

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