#3D2094#3D2094

#3D2094 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.175 H 285.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#3D2094
RGBrgb(61, 32, 148)
HSLhsl(255, 64%, 35%)
HSVhsv(255, 78%, 58%)
CMYKcmyk(58.8%, 78.4%, 0%, 42%)
CIE-LABlab(24.20, 43.85, -58.48)
CIE-LCHlch(24.20, 73.09, 306.87°)
OKLaboklab(36.62% 0.0462 -0.1684)
OKLCHoklch(36.62% 0.175 285.3)
XYZxyz(7.7847, 4.1628, 28.4045)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2094 #779420
analogous
#203D94 #3D2094 #772094
triadic
#3D2094 #943D20 #20943D
tetradic
#3D2094 #94203D #779420 #209477
square
#3D2094 #94203D #779420 #209477
split-complementary
#3D2094 #947720 #3D9420
monochromatic
#140A2F #281562 #3D2094 #522BC6 #7654DA

Accessibility & contrast

On white

11.46
#3D2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3D2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2094
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2094#FFFFFF#000000##FFFFFF
##3D20941.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#0E4159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2094;
/* rgb */ color: rgb(61, 32, 148);
/* oklch */ color: oklch(36.6% 0.175 285.3);
Tailwind
colors: {
  custom: {
    50: '#7d5fb5',
    500: '#3d2094',
    950: '#000000',
  },
}
SCSS
$custom: #3d2094;
$custom-light: #7d5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2094",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 255,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36623,
    "c": 0.17467,
    "h": 285.3
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#3D2094
secondary
#A3BE52
accent
#E740BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2094

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

Preview Lab → · Contrast checker → · Palette generator →

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