#3E1260#3E1260

#3E1260 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.129 H 305.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#3E1260
RGBrgb(62, 18, 96)
HSLhsl(274, 68%, 22%)
HSVhsv(274, 81%, 38%)
CMYKcmyk(35.4%, 81.3%, 0%, 62.4%)
CIE-LABlab(17.00, 36.13, -37.05)
CIE-LCHlch(17.00, 51.75, 314.28°)
OKLaboklab(30.08% 0.0748 -0.1055)
OKLCHoklch(30.08% 0.129 305.4)
XYZxyz(4.3138, 2.3013, 11.2810)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1260 #346012
analogous
#171260 #3E1260 #60125B
triadic
#3E1260 #603E12 #12603E
tetradic
#3E1260 #601712 #346012 #125B60
square
#3E1260 #601712 #346012 #125B60
split-complementary
#3E1260 #5B6012 #126017
monochromatic
#11051A #1D082C #3E1260 #5F1C94 #8125C7

Accessibility & contrast

On white

14.38
#3E1260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3E1260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1260
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1260#FFFFFF#000000##FFFFFF
##3E12601.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#382638
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1260;
/* rgb */ color: rgb(62, 18, 96);
/* oklch */ color: oklch(30.1% 0.129 305.4);
Tailwind
colors: {
  custom: {
    50: '#77558e',
    500: '#3e1260',
    950: '#000000',
  },
}
SCSS
$custom: #3e1260;
$custom-light: #77558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1260",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 273.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.12932,
    "h": 305.4
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#3E1260
secondary
#619836
accent
#EB3D89
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1260

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

Preview Lab → · Contrast checker → · Palette generator →

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