#3D2398#3D2398

#3D2398 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.176 H 284.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3D2398
RGBrgb(61, 35, 152)
HSLhsl(253, 63%, 37%)
HSVhsv(253, 77%, 60%)
CMYKcmyk(59.9%, 77%, 0%, 40.4%)
CIE-LABlab(25.14, 43.53, -59.40)
CIE-LCHlch(25.14, 73.64, 306.24°)
OKLaboklab(37.4% 0.043 -0.1712)
OKLCHoklch(37.4% 0.176 284.1)
XYZxyz(8.1913, 4.4606, 30.1290)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2398 #7E9823
analogous
#234498 #3D2398 #782398
triadic
#3D2398 #983D23 #23983D
tetradic
#3D2398 #982344 #7E9823 #239878
square
#3D2398 #982344 #7E9823 #239878
split-complementary
#3D2398 #987823 #449823
monochromatic
#150C35 #291866 #3D2398 #512ECA #785CD9

Accessibility & contrast

On white

11.10
#3D2398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3D2398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2398
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2398#FFFFFF#000000##FFFFFF
##3D23981.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#04445C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2398;
/* rgb */ color: rgb(61, 35, 152);
/* oklch */ color: oklch(37.4% 0.176 284.1);
Tailwind
colors: {
  custom: {
    50: '#7e61b7',
    500: '#3d2398',
    950: '#000000',
  },
}
SCSS
$custom: #3d2398;
$custom-light: #7e61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2398",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 253.333,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.17647,
    "h": 284.1
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#3D2398
secondary
#A8BE59
accent
#E642C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2398

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

Preview Lab → · Contrast checker → · Palette generator →

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