#3E266F#3E266F

#3E266F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.2% C 0.120 H 294.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#3E266F
RGBrgb(62, 38, 111)
HSLhsl(260, 49%, 29%)
HSVhsv(260, 66%, 44%)
CMYKcmyk(44.1%, 65.8%, 0%, 56.5%)
CIE-LABlab(22.15, 29.51, -38.49)
CIE-LCHlch(22.15, 48.50, 307.47°)
OKLaboklab(34.16% 0.0495 -0.1098)
OKLCHoklch(34.16% 0.12 294.3)
XYZxyz(5.5482, 3.5579, 15.4303)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E266F #576F26
analogous
#26336F #3E266F #63266F
triadic
#3E266F #6F3E26 #266F3E
tetradic
#3E266F #6F2633 #576F26 #266F63
square
#3E266F #6F2633 #576F26 #266F63
split-complementary
#3E266F #6F6326 #336F26
monochromatic
#0D0817 #251641 #3E266F #57369D #744DC2

Accessibility & contrast

On white

12.27
#3E266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E266F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E266F#FFFFFF#000000##FFFFFF
##3E266F1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#313746
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e266f;
/* rgb */ color: rgb(62, 38, 111);
/* oklch */ color: oklch(34.2% 0.120 294.3);
Tailwind
colors: {
  custom: {
    50: '#786299',
    500: '#3e266f',
    950: '#000000',
  },
}
SCSS
$custom: #3e266f;
$custom-light: #786299;
$custom-dark: #000000;
JSON
{
  "hex": "#3e266f",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 259.726,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34155,
    "c": 0.12043,
    "h": 294.3
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#3E266F
secondary
#87A24F
accent
#D94FAB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E266F

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

Preview Lab → · Contrast checker → · Palette generator →

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