#3E265C#3E265C

#3E265C is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.7% C 0.094 H 302.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#3E265C
RGBrgb(62, 38, 92)
HSLhsl(267, 42%, 25%)
HSVhsv(267, 59%, 36%)
CMYKcmyk(32.6%, 58.7%, 0%, 63.9%)
CIE-LABlab(20.76, 23.90, -28.32)
CIE-LCHlch(20.76, 37.05, 310.16°)
OKLaboklab(32.69% 0.0499 -0.0799)
OKLCHoklch(32.69% 0.094 302)
XYZxyz(4.6110, 3.1831, 10.4946)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E265C #445C26
analogous
#26295C #3E265C #59265C
triadic
#3E265C #5C3E26 #265C3E
tetradic
#3E265C #5C2629 #445C26 #265C59
square
#3E265C #5C2629 #445C26 #265C59
split-complementary
#3E265C #5C5926 #295C26
monochromatic
#0F0916 #211431 #3E265C #5B3887 #784AB3

Accessibility & contrast

On white

12.83
#3E265C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E265C
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E265C#FFFFFF#000000##FFFFFF
##3E265C1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11325E
Deuteranopia (green-blind)
#19325B
Tritanopia (blue-blind)
#38303D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e265c;
/* rgb */ color: rgb(62, 38, 92);
/* oklch */ color: oklch(32.7% 0.094 302.0);
Tailwind
colors: {
  custom: {
    50: '#75618a',
    500: '#3e265c',
    950: '#000000',
  },
}
SCSS
$custom: #3e265c;
$custom-light: #75618a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e265c",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 266.667,
    "s": 41.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.09418,
    "h": 302
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#3E265C
secondary
#728F4F
accent
#D1569B
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3E265C

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

Preview Lab → · Contrast checker → · Palette generator →

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