#3F2075#3F2075

#3F2075 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.137 H 294.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#3F2075
RGBrgb(63, 32, 117)
HSLhsl(262, 57%, 29%)
HSVhsv(262, 73%, 46%)
CMYKcmyk(46.2%, 72.6%, 0%, 54.1%)
CIE-LABlab(21.48, 35.02, -43.43)
CIE-LCHlch(21.48, 55.79, 308.88°)
OKLaboklab(33.86% 0.0571 -0.1243)
OKLCHoklch(33.86% 0.137 294.7)
XYZxyz(5.7764, 3.3740, 17.1731)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2075 #567520
analogous
#202C75 #3F2075 #6A2075
triadic
#3F2075 #753F20 #20753F
tetradic
#3F2075 #75202C #567520 #20756A
square
#3F2075 #75202C #567520 #20756A
split-complementary
#3F2075 #756A20 #2C7520
monochromatic
#0D0718 #251345 #3F2075 #592DA5 #7544CC

Accessibility & contrast

On white

12.54
#3F2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3F2075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2075
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2075#FFFFFF#000000##FFFFFF
##3F20751.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#303548
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3f2075;
/* rgb */ color: rgb(63, 32, 117);
/* oklch */ color: oklch(33.9% 0.137 294.7);
Tailwind
colors: {
  custom: {
    50: '#795e9d',
    500: '#3f2075',
    950: '#000000',
  },
}
SCSS
$custom: #3f2075;
$custom-light: #795e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2075",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 261.882,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33857,
    "c": 0.13677,
    "h": 294.7
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#3F2075
secondary
#85A848
accent
#E047A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F2075

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

Preview Lab → · Contrast checker → · Palette generator →

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