#3F195E#3F195E

#3F195E is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.9% C 0.118 H 305.8°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#3F195E
RGBrgb(63, 25, 94)
HSLhsl(273, 58%, 23%)
HSVhsv(273, 73%, 37%)
CMYKcmyk(33%, 73.4%, 0%, 63.1%)
CIE-LABlab(18.19, 32.40, -33.77)
CIE-LCHlch(18.19, 46.81, 313.81°)
OKLaboklab(30.9% 0.0691 -0.0958)
OKLCHoklch(30.9% 0.118 305.8)
XYZxyz(4.4175, 2.5602, 10.8490)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F195E #385E19
analogous
#1C195E #3F195E #5E195A
triadic
#3F195E #5E3F19 #195E3F
tetradic
#3F195E #5E1C19 #385E19 #195A5E
square
#3F195E #5E1C19 #385E19 #195A5E
split-complementary
#3F195E #5A5E19 #195E1C
monochromatic
#100618 #1F0C2E #3F195E #5F268E #8033BF

Accessibility & contrast

On white

13.89
#3F195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F195E
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F195E#FFFFFF#000000##FFFFFF
##3F195E1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#3A2839
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f195e;
/* rgb */ color: rgb(63, 25, 94);
/* oklch */ color: oklch(30.9% 0.118 305.8);
Tailwind
colors: {
  custom: {
    50: '#77598c',
    500: '#3f195e',
    950: '#000000',
  },
}
SCSS
$custom: #3f195e;
$custom-light: #77598c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f195e",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 273.043,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30901,
    "c": 0.11814,
    "h": 305.8
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#3F195E
secondary
#65943F
accent
#E1478C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F195E

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

Preview Lab → · Contrast checker → · Palette generator →

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