#3F3273#3F3273

#3F3273 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.7% C 0.107 H 289.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3F3273
RGBrgb(63, 50, 115)
HSLhsl(252, 39%, 32%)
HSVhsv(252, 57%, 45%)
CMYKcmyk(45.2%, 56.5%, 0%, 54.9%)
CIE-LABlab(25.49, 23.34, -35.67)
CIE-LCHlch(25.49, 42.63, 303.20°)
OKLaboklab(36.73% 0.0354 -0.1014)
OKLCHoklch(36.73% 0.107 289.2)
XYZxyz(6.2841, 4.5756, 16.7684)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3273 #667332
analogous
#324673 #3F3273 #603273
triadic
#3F3273 #733F32 #32733F
tetradic
#3F3273 #733246 #667332 #327360
square
#3F3273 #733246 #667332 #327360
split-complementary
#3F3273 #736032 #467332
monochromatic
#100D1E #281F48 #3F3273 #56459E #7564BC

Accessibility & contrast

On white

10.96
#3F3273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3F3273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3273
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3273#FFFFFF#000000##FFFFFF
##3F32731.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E75
Deuteranopia (green-blind)
#133B72
Tritanopia (blue-blind)
#30404D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f3273;
/* rgb */ color: rgb(63, 50, 115);
/* oklch */ color: oklch(36.7% 0.107 289.2);
Tailwind
colors: {
  custom: {
    50: '#786a9c',
    500: '#3f3273',
    950: '#000000',
  },
}
SCSS
$custom: #3f3273;
$custom-light: #786a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3273",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 252,
    "s": 39.394,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36726,
    "c": 0.10744,
    "h": 289.2
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#3F3273
secondary
#95A35D
accent
#CF59B8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3F3273

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

Preview Lab → · Contrast checker → · Palette generator →

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