#3F2E85#3F2E85

#3F2E85 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.139 H 286.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#3F2E85
RGBrgb(63, 46, 133)
HSLhsl(252, 49%, 35%)
HSVhsv(252, 65%, 52%)
CMYKcmyk(52.6%, 65.4%, 0%, 47.8%)
CIE-LABlab(25.87, 31.65, -46.41)
CIE-LCHlch(25.87, 56.18, 304.29°)
OKLaboklab(37.44% 0.0397 -0.1331)
OKLCHoklch(37.44% 0.139 286.6)
XYZxyz(7.2593, 4.7039, 22.7112)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E85 #74852E
analogous
#2E4985 #3F2E85 #6A2E85
triadic
#3F2E85 #853F2E #2E853F
tetradic
#3F2E85 #852E49 #74852E #2E856A
square
#3F2E85 #852E49 #74852E #2E856A
split-complementary
#3F2E85 #856A2E #49852E
monochromatic
#140F2A #291E58 #3F2E85 #553EB2 #7864C9

Accessibility & contrast

On white

10.82
#3F2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3F2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E85
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E85#FFFFFF#000000##FFFFFF
##3F2E851.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#254355
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f2e85;
/* rgb */ color: rgb(63, 46, 133);
/* oklch */ color: oklch(37.4% 0.139 286.6);
Tailwind
colors: {
  custom: {
    50: '#7b68a9',
    500: '#3f2e85',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e85;
$custom-light: #7b68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e85",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 251.724,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37441,
    "c": 0.13885,
    "h": 286.6
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#3F2E85
secondary
#A0B05F
accent
#D850BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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