#3F2095#3F2095

#3F2095 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.176 H 286.2°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#3F2095
RGBrgb(63, 32, 149)
HSLhsl(256, 65%, 35%)
HSVhsv(256, 79%, 58%)
CMYKcmyk(57.7%, 78.5%, 0%, 41.6%)
CIE-LABlab(24.51, 44.41, -58.58)
CIE-LCHlch(24.51, 73.51, 307.17°)
OKLaboklab(36.92% 0.0491 -0.1687)
OKLCHoklch(36.92% 0.176 286.2)
XYZxyz(7.9896, 4.2593, 28.8291)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2095 #769520
analogous
#203C95 #3F2095 #792095
triadic
#3F2095 #953F20 #20953F
tetradic
#3F2095 #95203C #769520 #209579
square
#3F2095 #95203C #769520 #209579
split-complementary
#3F2095 #957920 #3C9520
monochromatic
#140A30 #2A1563 #3F2095 #542BC7 #7855DA

Accessibility & contrast

On white

11.34
#3F2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3F2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2095
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2095#FFFFFF#000000##FFFFFF
##3F20951.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#15425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2095;
/* rgb */ color: rgb(63, 32, 149);
/* oklch */ color: oklch(36.9% 0.176 286.2);
Tailwind
colors: {
  custom: {
    50: '#7f60b5',
    500: '#3f2095',
    950: '#000000',
  },
}
SCSS
$custom: #3f2095;
$custom-light: #7f60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2095",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 255.897,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.17567,
    "h": 286.2
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#3F2095
secondary
#A2BE53
accent
#E840BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2095

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

Preview Lab → · Contrast checker → · Palette generator →

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