#3F2F8F#3F2F8F

#3F2F8F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.151 H 284.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3F2F8F
RGBrgb(63, 47, 143)
HSLhsl(250, 51%, 37%)
HSVhsv(250, 67%, 56%)
CMYKcmyk(55.9%, 67.1%, 0%, 43.9%)
CIE-LABlab(26.94, 34.24, -50.89)
CIE-LCHlch(26.94, 61.34, 303.93°)
OKLaboklab(38.48% 0.0375 -0.1462)
OKLCHoklch(38.48% 0.151 284.4)
XYZxyz(8.0228, 5.0725, 26.5376)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F8F #7F8F2F
analogous
#2F4F8F #3F2F8F #6F2F8F
triadic
#3F2F8F #8F3F2F #2F8F3F
tetradic
#3F2F8F #8F2F4F #7F8F2F #2F8F6F
square
#3F2F8F #8F2F4F #7F8F2F #2F8F6F
split-complementary
#3F2F8F #8F6F2F #4F8F2F
monochromatic
#161133 #2B2061 #3F2F8F #533EBD #7B6ACE

Accessibility & contrast

On white

10.42
#3F2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F2F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F8F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F8F#FFFFFF#000000##FFFFFF
##3F2F8F1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#1B475A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2f8f;
/* rgb */ color: rgb(63, 47, 143);
/* oklch */ color: oklch(38.5% 0.151 284.4);
Tailwind
colors: {
  custom: {
    50: '#7c69b1',
    500: '#3f2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f8f;
$custom-light: #7c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f8f",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 250,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38476,
    "c": 0.15096,
    "h": 284.4
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#3F2F8F
secondary
#A8B565
accent
#DA4EC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3F2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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