#3F2A67#3F2A67

#3F2A67 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.3% C 0.103 H 296.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#3F2A67
RGBrgb(63, 42, 103)
HSLhsl(261, 42%, 28%)
HSVhsv(261, 59%, 40%)
CMYKcmyk(38.8%, 59.2%, 0%, 59.6%)
CIE-LABlab(22.63, 24.84, -32.54)
CIE-LCHlch(22.63, 40.94, 307.35°)
OKLaboklab(34.34% 0.0459 -0.0923)
OKLCHoklch(34.34% 0.103 296.5)
XYZxyz(5.3254, 3.6919, 13.2614)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2A67 #52672A
analogous
#2A3367 #3F2A67 #5D2A67
triadic
#3F2A67 #673F2A #2A673F
tetradic
#3F2A67 #672A33 #52672A #2A675D
square
#3F2A67 #672A33 #52672A #2A675D
split-complementary
#3F2A67 #675D2A #33672A
monochromatic
#0D0916 #24183C #3F2A67 #5A3C92 #7653B9

Accessibility & contrast

On white

12.08
#3F2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3F2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2A67
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2A67#FFFFFF#000000##FFFFFF
##3F2A671.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3669
Deuteranopia (green-blind)
#153566
Tritanopia (blue-blind)
#363744
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f2a67;
/* rgb */ color: rgb(63, 42, 103);
/* oklch */ color: oklch(34.3% 0.103 296.5);
Tailwind
colors: {
  custom: {
    50: '#776493',
    500: '#3f2a67',
    950: '#000000',
  },
}
SCSS
$custom: #3f2a67;
$custom-light: #776493;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2a67",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 260.656,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.10307,
    "h": 296.5
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#3F2A67
secondary
#819954
accent
#D256A7
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09050D
muted
#7B7A7E

Preview Lab

Preview with #3F2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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