#3D2390#3D2390

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

Color values

HEX#3D2390
RGBrgb(61, 35, 144)
HSLhsl(254, 61%, 35%)
HSVhsv(254, 76%, 56%)
CMYKcmyk(57.6%, 75.7%, 0%, 43.5%)
CIE-LABlab(24.35, 41.11, -55.77)
CIE-LCHlch(24.35, 69.28, 306.39°)
OKLaboklab(36.6% 0.0451 -0.1605)
OKLCHoklch(36.6% 0.167 285.7)
XYZxyz(7.5580, 4.2073, 26.7940)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2390 #769023
analogous
#233F90 #3D2390 #742390
triadic
#3D2390 #903D23 #23903D
tetradic
#3D2390 #90233F #769023 #239074
square
#3D2390 #90233F #769023 #239074
split-complementary
#3D2390 #907423 #3F9023
monochromatic
#130B2E #28175F #3D2390 #522FC1 #7557D6

Accessibility & contrast

On white

11.40
#3D2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3D2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2390
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2390#FFFFFF#000000##FFFFFF
##3D23901.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#154158
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2390;
/* rgb */ color: rgb(61, 35, 144);
/* oklch */ color: oklch(36.6% 0.167 285.7);
Tailwind
colors: {
  custom: {
    50: '#7c61b2',
    500: '#3d2390',
    950: '#000000',
  },
}
SCSS
$custom: #3d2390;
$custom-light: #7c61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2390",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 254.312,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36603,
    "c": 0.16676,
    "h": 285.7
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#3D2390
secondary
#A2BA54
accent
#E444BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2390

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

Preview Lab → · Contrast checker → · Palette generator →

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