#3E266E#3E266E

#3E266E is a dark, moderate violet. Relative luminance 0.035; OKLCH L 34.1% C 0.119 H 294.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#3E266E
RGBrgb(62, 38, 110)
HSLhsl(260, 49%, 29%)
HSVhsv(260, 65%, 43%)
CMYKcmyk(43.6%, 65.5%, 0%, 56.9%)
CIE-LABlab(22.07, 29.21, -37.97)
CIE-LCHlch(22.07, 47.91, 307.56°)
OKLaboklab(34.07% 0.0496 -0.1083)
OKLCHoklch(34.07% 0.119 294.6)
XYZxyz(5.4934, 3.5360, 15.1419)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E266E #566E26
analogous
#26326E #3E266E #62266E
triadic
#3E266E #6E3E26 #266E3E
tetradic
#3E266E #6E2632 #566E26 #266E62
square
#3E266E #6E2632 #566E26 #266E62
split-complementary
#3E266E #6E6226 #326E26
monochromatic
#0D0817 #241641 #3E266E #58369B #744DC1

Accessibility & contrast

On white

12.30
#3E266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3E266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E266E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E266E#FFFFFF#000000##FFFFFF
##3E266E1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#313646
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e266e;
/* rgb */ color: rgb(62, 38, 110);
/* oklch */ color: oklch(34.1% 0.119 294.6);
Tailwind
colors: {
  custom: {
    50: '#776298',
    500: '#3e266e',
    950: '#000000',
  },
}
SCSS
$custom: #3e266e;
$custom-light: #776298;
$custom-dark: #000000;
JSON
{
  "hex": "#3e266e",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 260,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34073,
    "c": 0.11908,
    "h": 294.6
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#3E266E
secondary
#86A14F
accent
#D850AB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E266E

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

Preview Lab → · Contrast checker → · Palette generator →

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