#3F2E92#3F2E92

#3F2E92 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.156 H 284.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3F2E92
RGBrgb(63, 46, 146)
HSLhsl(250, 52%, 38%)
HSVhsv(250, 68%, 57%)
CMYKcmyk(56.8%, 68.5%, 0%, 42.7%)
CIE-LABlab(26.98, 35.81, -52.69)
CIE-LCHlch(26.98, 63.70, 304.20°)
OKLaboklab(38.58% 0.0381 -0.1515)
OKLCHoklch(38.58% 0.156 284.1)
XYZxyz(8.2136, 5.0856, 27.7374)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E92 #81922E
analogous
#2E4F92 #3F2E92 #712E92
triadic
#3F2E92 #923F2E #2E923F
tetradic
#3F2E92 #922E4F #81922E #2E9271
square
#3F2E92 #922E4F #81922E #2E9271
split-complementary
#3F2E92 #92712E #4F922E
monochromatic
#171135 #2B1F63 #3F2E92 #533DC1 #7C6AD0

Accessibility & contrast

On white

10.41
#3F2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3F2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E92
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E92#FFFFFF#000000##FFFFFF
##3F2E921.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#18485C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2e92;
/* rgb */ color: rgb(63, 46, 146);
/* oklch */ color: oklch(38.6% 0.156 284.1);
Tailwind
colors: {
  custom: {
    50: '#7d68b3',
    500: '#3f2e92',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e92;
$custom-light: #7d68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e92",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 250.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38583,
    "c": 0.15619,
    "h": 284.1
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#3F2E92
secondary
#A9B765
accent
#DC4CC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3F2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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