#3E265E#3E265E

#3E265E is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.8% C 0.097 H 301.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#3E265E
RGBrgb(62, 38, 94)
HSLhsl(266, 42%, 26%)
HSVhsv(266, 60%, 37%)
CMYKcmyk(34%, 59.6%, 0%, 63.1%)
CIE-LABlab(20.90, 24.47, -29.42)
CIE-LCHlch(20.90, 38.27, 309.75°)
OKLaboklab(32.84% 0.0499 -0.0831)
OKLCHoklch(32.84% 0.097 301)
XYZxyz(4.6996, 3.2185, 10.9611)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E265E #465E26
analogous
#262A5E #3E265E #5A265E
triadic
#3E265E #5E3E26 #265E3E
tetradic
#3E265E #5E262A #465E26 #265E5A
square
#3E265E #5E262A #465E26 #265E5A
split-complementary
#3E265E #5E5A26 #2A5E26
monochromatic
#0E0916 #211432 #3E265E #5B388A #7749B5

Accessibility & contrast

On white

12.78
#3E265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3E265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E265E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E265E#FFFFFF#000000##FFFFFF
##3E265E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#18325D
Tritanopia (blue-blind)
#38313E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e265e;
/* rgb */ color: rgb(62, 38, 94);
/* oklch */ color: oklch(32.8% 0.097 301.0);
Tailwind
colors: {
  custom: {
    50: '#76618c',
    500: '#3e265e',
    950: '#000000',
  },
}
SCSS
$custom: #3e265e;
$custom-light: #76618c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e265e",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 265.714,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32838,
    "c": 0.09699,
    "h": 301
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#3E265E
secondary
#75914F
accent
#D2569D
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3E265E

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

Preview Lab → · Contrast checker → · Palette generator →

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