#3E1065#3E1065

#3E1065 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.137 H 303.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3E1065
RGBrgb(62, 16, 101)
HSLhsl(272, 73%, 23%)
HSVhsv(272, 84%, 40%)
CMYKcmyk(38.6%, 84.2%, 0%, 60.4%)
CIE-LABlab(17.15, 38.26, -40.10)
CIE-LCHlch(17.15, 55.42, 313.65°)
OKLaboklab(30.33% 0.0753 -0.1144)
OKLCHoklch(30.33% 0.137 303.3)
XYZxyz(4.5203, 2.3343, 12.5218)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1065 #376510
analogous
#141065 #3E1065 #651061
triadic
#3E1065 #653E10 #10653E
tetradic
#3E1065 #651410 #376510 #106165
square
#3E1065 #651410 #376510 #106165
split-complementary
#3E1065 #616510 #106514
monochromatic
#10041A #1E0830 #3E1065 #5E189A #7F21CF

Accessibility & contrast

On white

14.32
#3E1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3E1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1065
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1065#FFFFFF#000000##FFFFFF
##3E10651.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#36273B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1065;
/* rgb */ color: rgb(62, 16, 101);
/* oklch */ color: oklch(30.3% 0.137 303.3);
Tailwind
colors: {
  custom: {
    50: '#785592',
    500: '#3e1065',
    950: '#000000',
  },
}
SCSS
$custom: #3e1065;
$custom-light: #785592;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1065",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 272.471,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30325,
    "c": 0.13696,
    "h": 303.3
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#3E1065
secondary
#649D33
accent
#EF388C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1065

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

Preview Lab → · Contrast checker → · Palette generator →

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