#3F207C#3F207C

#3F207C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.145 H 292.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#3F207C
RGBrgb(63, 32, 124)
HSLhsl(260, 59%, 31%)
HSVhsv(260, 74%, 49%)
CMYKcmyk(49.2%, 74.2%, 0%, 51.4%)
CIE-LABlab(22.11, 37.06, -46.88)
CIE-LCHlch(22.11, 59.77, 308.33°)
OKLaboklab(34.49% 0.0557 -0.1344)
OKLCHoklch(34.49% 0.145 292.5)
XYZxyz(6.2035, 3.5448, 19.4222)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F207C #5D7C20
analogous
#202F7C #3F207C #6D207C
triadic
#3F207C #7C3F20 #207C3F
tetradic
#3F207C #7C202F #5D7C20 #207C6D
square
#3F207C #7C202F #5D7C20 #207C6D
split-complementary
#3F207C #7C6D20 #2F7C20
monochromatic
#0E071B #26134B #3F207C #582DAD #7547CF

Accessibility & contrast

On white

12.29
#3F207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3F207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F207C
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F207C#FFFFFF#000000##FFFFFF
##3F207C1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#2C384C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f207c;
/* rgb */ color: rgb(63, 32, 124);
/* oklch */ color: oklch(34.5% 0.145 292.5);
Tailwind
colors: {
  custom: {
    50: '#7b5ea3',
    500: '#3f207c',
    950: '#000000',
  },
}
SCSS
$custom: #3f207c;
$custom-light: #7b5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f207c",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 260.217,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34493,
    "c": 0.14548,
    "h": 292.5
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#3F207C
secondary
#8DAF49
accent
#E246AD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F207C

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

Preview Lab → · Contrast checker → · Palette generator →

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