#3F1975#3F1975

#3F1975 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.145 H 296.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#3F1975
RGBrgb(63, 25, 117)
HSLhsl(265, 65%, 28%)
HSVhsv(265, 79%, 46%)
CMYKcmyk(46.2%, 78.6%, 0%, 54.1%)
CIE-LABlab(20.19, 38.66, -45.55)
CIE-LCHlch(20.19, 59.74, 310.33°)
OKLaboklab(32.94% 0.0641 -0.1304)
OKLCHoklch(32.94% 0.145 296.2)
XYZxyz(5.6076, 3.0362, 17.1168)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1975 #4F7519
analogous
#192175 #3F1975 #6D1975
triadic
#3F1975 #753F19 #19753F
tetradic
#3F1975 #751921 #4F7519 #19756D
square
#3F1975 #751921 #4F7519 #19756D
split-complementary
#3F1975 #756D19 #217519
monochromatic
#0E0519 #240E43 #3F1975 #5A24A7 #7635D4

Accessibility & contrast

On white

13.07
#3F1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3F1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1975
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1975#FFFFFF#000000##FFFFFF
##3F19751.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#303246
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f1975;
/* rgb */ color: rgb(63, 25, 117);
/* oklch */ color: oklch(32.9% 0.145 296.2);
Tailwind
colors: {
  custom: {
    50: '#7a5a9e',
    500: '#3f1975',
    950: '#000000',
  },
}
SCSS
$custom: #3f1975;
$custom-light: #7a5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1975",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 264.783,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32941,
    "c": 0.14533,
    "h": 296.2
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#3F1975
secondary
#7EAA40
accent
#E840A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1975

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

Preview Lab → · Contrast checker → · Palette generator →

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