#3E2260#3E2260

#3E2260 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.106 H 301.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#3E2260
RGBrgb(62, 34, 96)
HSLhsl(267, 48%, 25%)
HSVhsv(267, 65%, 38%)
CMYKcmyk(35.4%, 64.6%, 0%, 62.4%)
CIE-LABlab(20.09, 27.54, -32.03)
CIE-LCHlch(20.09, 42.24, 310.69°)
OKLaboklab(32.3% 0.0556 -0.0908)
OKLCHoklch(32.3% 0.106 301.5)
XYZxyz(4.6695, 3.0127, 11.3996)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2260 #446022
analogous
#222560 #3E2260 #5D2260
triadic
#3E2260 #603E22 #22603E
tetradic
#3E2260 #602225 #446022 #22605D
square
#3E2260 #602225 #446022 #22605D
split-complementary
#3E2260 #605D22 #256022
monochromatic
#0F0817 #211233 #3E2260 #5B328D #7842BA

Accessibility & contrast

On white

13.10
#3E2260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3E2260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2260
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2260#FFFFFF#000000##FFFFFF
##3E22601.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013062
Deuteranopia (green-blind)
#0F305F
Tritanopia (blue-blind)
#372F3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e2260;
/* rgb */ color: rgb(62, 34, 96);
/* oklch */ color: oklch(32.3% 0.106 301.5);
Tailwind
colors: {
  custom: {
    50: '#765e8e',
    500: '#3e2260',
    950: '#000000',
  },
}
SCSS
$custom: #3e2260;
$custom-light: #765e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2260",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 267.097,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32295,
    "c": 0.10649,
    "h": 301.5
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#3E2260
secondary
#72944A
accent
#D7519A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E2260

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

Preview Lab → · Contrast checker → · Palette generator →

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