#3F195D#3F195D

#3F195D is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.8% C 0.117 H 306.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#3F195D
RGBrgb(63, 25, 93)
HSLhsl(274, 58%, 23%)
HSVhsv(274, 73%, 36%)
CMYKcmyk(32.3%, 73.1%, 0%, 63.5%)
CIE-LABlab(18.11, 32.14, -33.24)
CIE-LCHlch(18.11, 46.23, 314.04°)
OKLaboklab(30.82% 0.0692 -0.0943)
OKLCHoklch(30.82% 0.117 306.3)
XYZxyz(4.3729, 2.5424, 10.6142)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F195D #375D19
analogous
#1D195D #3F195D #5D1959
triadic
#3F195D #5D3F19 #195D3F
tetradic
#3F195D #5D1D19 #375D19 #19595D
square
#3F195D #5D1D19 #375D19 #19595D
split-complementary
#3F195D #595D19 #195D1D
monochromatic
#100618 #1E0C2D #3F195D #60268D #8033BD

Accessibility & contrast

On white

13.92
#3F195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3F195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F195D
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F195D#FFFFFF#000000##FFFFFF
##3F195D1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#062C5C
Tritanopia (blue-blind)
#3A2838
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f195d;
/* rgb */ color: rgb(63, 25, 93);
/* oklch */ color: oklch(30.8% 0.117 306.3);
Tailwind
colors: {
  custom: {
    50: '#77598b',
    500: '#3f195d',
    950: '#000000',
  },
}
SCSS
$custom: #3f195d;
$custom-light: #77598b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f195d",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 273.529,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30818,
    "c": 0.11694,
    "h": 306.3
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#3F195D
secondary
#64933F
accent
#E1478B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F195D

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

Preview Lab → · Contrast checker → · Palette generator →

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