#3F195F#3F195F

#3F195F is a dark, moderate violet. Relative luminance 0.026; OKLCH L 31.0% C 0.119 H 305.3°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#3F195F
RGBrgb(63, 25, 95)
HSLhsl(273, 58%, 24%)
HSVhsv(273, 74%, 37%)
CMYKcmyk(33.7%, 73.7%, 0%, 62.7%)
CIE-LABlab(18.27, 32.67, -34.31)
CIE-LCHlch(18.27, 47.37, 313.60°)
OKLaboklab(30.98% 0.0689 -0.0974)
OKLCHoklch(30.98% 0.119 305.3)
XYZxyz(4.4626, 2.5783, 11.0868)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F195F #395F19
analogous
#1C195F #3F195F #5F195C
triadic
#3F195F #5F3F19 #195F3F
tetradic
#3F195F #5F1C19 #395F19 #195C5F
square
#3F195F #5F1C19 #395F19 #195C5F
split-complementary
#3F195F #5C5F19 #195F1C
monochromatic
#100618 #1F0C2F #3F195F #5F268F #7F32C0

Accessibility & contrast

On white

13.86
#3F195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3F195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F195F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F195F#FFFFFF#000000##FFFFFF
##3F195F1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#022D5E
Tritanopia (blue-blind)
#39293A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f195f;
/* rgb */ color: rgb(63, 25, 95);
/* oklch */ color: oklch(31.0% 0.119 305.3);
Tailwind
colors: {
  custom: {
    50: '#77598d',
    500: '#3f195f',
    950: '#000000',
  },
}
SCSS
$custom: #3f195f;
$custom-light: #77598d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f195f",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 272.571,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30983,
    "c": 0.11933,
    "h": 305.3
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#3F195F
secondary
#66953F
accent
#E2468D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F195F

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

Preview Lab → · Contrast checker → · Palette generator →

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