#3F1465#3F1465

#3F1465 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.133 H 303.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#3F1465
RGBrgb(63, 20, 101)
HSLhsl(272, 67%, 24%)
HSVhsv(272, 80%, 40%)
CMYKcmyk(37.6%, 80.2%, 0%, 60.4%)
CIE-LABlab(17.90, 36.71, -38.87)
CIE-LCHlch(17.90, 53.47, 313.37°)
OKLaboklab(30.88% 0.0732 -0.1108)
OKLCHoklch(30.88% 0.133 303.4)
XYZxyz(4.6485, 2.4967, 12.5464)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1465 #3A6514
analogous
#161465 #3F1465 #651462
triadic
#3F1465 #653F14 #14653F
tetradic
#3F1465 #651614 #3A6514 #146265
square
#3F1465 #651614 #3A6514 #146265
split-complementary
#3F1465 #626514 #146516
monochromatic
#10051A #1F0A32 #3F1465 #5F1E98 #7F28CB

Accessibility & contrast

On white

14.01
#3F1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3F1465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1465
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1465#FFFFFF#000000##FFFFFF
##3F14651.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#37293C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1465;
/* rgb */ color: rgb(63, 20, 101);
/* oklch */ color: oklch(30.9% 0.133 303.4);
Tailwind
colors: {
  custom: {
    50: '#785792',
    500: '#3f1465',
    950: '#000000',
  },
}
SCSS
$custom: #3f1465;
$custom-light: #785792;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1465",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 271.852,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30884,
    "c": 0.13277,
    "h": 303.4
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#3F1465
secondary
#679C39
accent
#EA3E8F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1465

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

Preview Lab → · Contrast checker → · Palette generator →

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