#3E2265#3E2265

#3E2265 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.113 H 299.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#3E2265
RGBrgb(62, 34, 101)
HSLhsl(265, 50%, 26%)
HSVhsv(265, 66%, 40%)
CMYKcmyk(38.6%, 66.3%, 0%, 60.4%)
CIE-LABlab(20.47, 28.98, -34.71)
CIE-LCHlch(20.47, 45.22, 309.86°)
OKLaboklab(32.69% 0.0554 -0.0987)
OKLCHoklch(32.69% 0.113 299.3)
XYZxyz(4.9070, 3.1077, 12.6507)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2265 #496522
analogous
#222765 #3E2265 #602265
triadic
#3E2265 #653E22 #22653E
tetradic
#3E2265 #652227 #496522 #226560
square
#3E2265 #652227 #496522 #226560
split-complementary
#3E2265 #656022 #276522
monochromatic
#0E0817 #221337 #3E2265 #5A3193 #7642BF

Accessibility & contrast

On white

12.95
#3E2265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3E2265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2265
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2265#FFFFFF#000000##FFFFFF
##3E22651.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#063164
Tritanopia (blue-blind)
#353140
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e2265;
/* rgb */ color: rgb(62, 34, 101);
/* oklch */ color: oklch(32.7% 0.113 299.3);
Tailwind
colors: {
  custom: {
    50: '#775f91',
    500: '#3e2265',
    950: '#000000',
  },
}
SCSS
$custom: #3e2265;
$custom-light: #775f91;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2265",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 265.075,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32687,
    "c": 0.11314,
    "h": 299.3
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#3E2265
secondary
#78994A
accent
#D94F9F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E2265

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

Preview Lab → · Contrast checker → · Palette generator →

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