#3E2390#3E2390

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

Color values

HEX#3E2390
RGBrgb(62, 35, 144)
HSLhsl(255, 61%, 35%)
HSVhsv(255, 76%, 56%)
CMYKcmyk(56.9%, 75.7%, 0%, 43.5%)
CIE-LABlab(24.45, 41.26, -55.60)
CIE-LCHlch(24.45, 69.23, 306.58°)
OKLaboklab(36.7% 0.0466 -0.16)
OKLCHoklch(36.7% 0.167 286.2)
XYZxyz(7.6202, 4.2394, 26.7969)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2390 #759023
analogous
#233F90 #3E2390 #742390
triadic
#3E2390 #903E23 #23903E
tetradic
#3E2390 #90233F #759023 #239074
square
#3E2390 #90233F #759023 #239074
split-complementary
#3E2390 #907423 #3F9023
monochromatic
#140B2E #29175F #3E2390 #532FC1 #7757D6

Accessibility & contrast

On white

11.36
#3E2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3E2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2390
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2390#FFFFFF#000000##FFFFFF
##3E23901.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2390;
/* rgb */ color: rgb(62, 35, 144);
/* oklch */ color: oklch(36.7% 0.167 286.2);
Tailwind
colors: {
  custom: {
    50: '#7d61b2',
    500: '#3e2390',
    950: '#000000',
  },
}
SCSS
$custom: #3e2390;
$custom-light: #7d61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2390",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 254.862,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.367,
    "c": 0.16666,
    "h": 286.2
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#3E2390
secondary
#A1BA54
accent
#E444BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2390

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

Preview Lab → · Contrast checker → · Palette generator →

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