#3D2270#3D2270

#3D2270 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.128 H 294.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#3D2270
RGBrgb(61, 34, 112)
HSLhsl(261, 53%, 29%)
HSVhsv(261, 70%, 44%)
CMYKcmyk(45.5%, 69.6%, 0%, 56.1%)
CIE-LABlab(21.23, 31.98, -40.64)
CIE-LCHlch(21.23, 51.72, 308.20°)
OKLaboklab(33.49% 0.0526 -0.1161)
OKLCHoklch(33.49% 0.128 294.4)
XYZxyz(5.4203, 3.3059, 15.6786)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2270 #557022
analogous
#222E70 #3D2270 #642270
triadic
#3D2270 #703D22 #22703D
tetradic
#3D2270 #70222E #557022 #227064
square
#3D2270 #70222E #557022 #227064
split-complementary
#3D2270 #706422 #2E7022
monochromatic
#0D0717 #231441 #3D2270 #57309F #7246C7

Accessibility & contrast

On white

12.64
#3D2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3D2270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2270
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2270#FFFFFF#000000##FFFFFF
##3D22701.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#2F3546
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d2270;
/* rgb */ color: rgb(61, 34, 112);
/* oklch */ color: oklch(33.5% 0.128 294.4);
Tailwind
colors: {
  custom: {
    50: '#775f9a',
    500: '#3d2270',
    950: '#000000',
  },
}
SCSS
$custom: #3d2270;
$custom-light: #775f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2270",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 260.769,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33486,
    "c": 0.12752,
    "h": 294.4
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#3D2270
secondary
#85A34A
accent
#DD4BAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D2270

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

Preview Lab → · Contrast checker → · Palette generator →

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