#3E1265#3E1265

#3E1265 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.135 H 303.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#3E1265
RGBrgb(62, 18, 101)
HSLhsl(272, 70%, 23%)
HSVhsv(272, 82%, 40%)
CMYKcmyk(38.6%, 82.2%, 0%, 60.4%)
CIE-LABlab(17.44, 37.42, -39.63)
CIE-LCHlch(17.44, 54.50, 313.36°)
OKLaboklab(30.53% 0.0735 -0.113)
OKLCHoklch(30.53% 0.135 303)
XYZxyz(4.5513, 2.3963, 12.5322)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1265 #396512
analogous
#141265 #3E1265 #651262
triadic
#3E1265 #653E12 #12653E
tetradic
#3E1265 #651412 #396512 #126265
square
#3E1265 #651412 #396512 #126265
split-complementary
#3E1265 #626512 #126514
monochromatic
#10051A #1E0931 #3E1265 #5E1B99 #7E25CD

Accessibility & contrast

On white

14.20
#3E1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1265
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1265#FFFFFF#000000##FFFFFF
##3E12651.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#36283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1265;
/* rgb */ color: rgb(62, 18, 101);
/* oklch */ color: oklch(30.5% 0.135 303.0);
Tailwind
colors: {
  custom: {
    50: '#785692',
    500: '#3e1265',
    950: '#000000',
  },
}
SCSS
$custom: #3e1265;
$custom-light: #785692;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1265",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 271.807,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30529,
    "c": 0.13483,
    "h": 303
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#3E1265
secondary
#669D36
accent
#ED3B8F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1265

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

Preview Lab → · Contrast checker → · Palette generator →

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