#3E266A#3E266A

#3E266A is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.114 H 296.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#3E266A
RGBrgb(62, 38, 106)
HSLhsl(261, 47%, 28%)
HSVhsv(261, 64%, 42%)
CMYKcmyk(41.5%, 64.2%, 0%, 58.4%)
CIE-LABlab(21.77, 28.00, -35.88)
CIE-LCHlch(21.77, 45.52, 307.97°)
OKLaboklab(33.75% 0.0498 -0.1021)
OKLCHoklch(33.75% 0.114 296)
XYZxyz(5.2806, 3.4509, 14.0207)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E266A #526A26
analogous
#26306A #3E266A #60266A
triadic
#3E266A #6A3E26 #266A3E
tetradic
#3E266A #6A2630 #526A26 #266A60
square
#3E266A #6A2630 #526A26 #266A60
split-complementary
#3E266A #6A6026 #306A26
monochromatic
#0D0817 #24163D #3E266A #583697 #744CBF

Accessibility & contrast

On white

12.42
#3E266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E266A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E266A#FFFFFF#000000##FFFFFF
##3E266A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#053369
Tritanopia (blue-blind)
#333544
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e266a;
/* rgb */ color: rgb(62, 38, 106);
/* oklch */ color: oklch(33.8% 0.114 296.0);
Tailwind
colors: {
  custom: {
    50: '#776195',
    500: '#3e266a',
    950: '#000000',
  },
}
SCSS
$custom: #3e266a;
$custom-light: #776195;
$custom-dark: #000000;
JSON
{
  "hex": "#3e266a",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 261.176,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33751,
    "c": 0.11363,
    "h": 296
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#3E266A
secondary
#819D4F
accent
#D751A8
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3E266A

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

Preview Lab → · Contrast checker → · Palette generator →

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