#3F165F#3F165F

#3F165F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.123 H 305.9°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#3F165F
RGBrgb(63, 22, 95)
HSLhsl(274, 62%, 23%)
HSVhsv(274, 77%, 37%)
CMYKcmyk(33.7%, 76.8%, 0%, 62.7%)
CIE-LABlab(17.72, 34.20, -35.19)
CIE-LCHlch(17.72, 49.08, 314.18°)
OKLaboklab(30.59% 0.0724 -0.1)
OKLCHoklch(30.59% 0.123 305.9)
XYZxyz(4.4019, 2.4568, 11.0666)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F165F #365F16
analogous
#1B165F #3F165F #5F165A
triadic
#3F165F #5F3F16 #165F3F
tetradic
#3F165F #5F1B16 #365F16 #165A5F
square
#3F165F #5F1B16 #365F16 #165A5F
split-complementary
#3F165F #5A5F16 #165F1B
monochromatic
#100619 #1E0A2D #3F165F #602291 #812DC2

Accessibility & contrast

On white

14.08
#3F165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3F165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F165F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F165F#FFFFFF#000000##FFFFFF
##3F165F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#392739
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f165f;
/* rgb */ color: rgb(63, 22, 95);
/* oklch */ color: oklch(30.6% 0.123 305.9);
Tailwind
colors: {
  custom: {
    50: '#78578d',
    500: '#3f165f',
    950: '#000000',
  },
}
SCSS
$custom: #3f165f;
$custom-light: #78578d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f165f",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 273.699,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30594,
    "c": 0.12346,
    "h": 305.9
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#3F165F
secondary
#63963B
accent
#E5428A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F165F

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

Preview Lab → · Contrast checker → · Palette generator →

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