#3F1965#3F1965

#3F1965 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.126 H 302.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#3F1965
RGBrgb(63, 25, 101)
HSLhsl(270, 60%, 25%)
HSVhsv(270, 75%, 40%)
CMYKcmyk(37.6%, 75.2%, 0%, 60.4%)
CIE-LABlab(18.76, 34.27, -37.47)
CIE-LCHlch(18.76, 50.78, 312.45°)
OKLaboklab(31.49% 0.0679 -0.1067)
OKLCHoklch(31.49% 0.126 302.5)
XYZxyz(4.7459, 2.6916, 12.5789)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1965 #3F6519
analogous
#191965 #3F1965 #651965
triadic
#3F1965 #653F19 #19653F
tetradic
#3F1965 #651919 #3F6519 #196565
square
#3F1965 #651919 #3F6519 #196565
split-complementary
#3F1965 #656519 #196519
monochromatic
#0F0619 #200D34 #3F1965 #5E2596 #7C31C7

Accessibility & contrast

On white

13.65
#3F1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3F1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1965
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1965#FFFFFF#000000##FFFFFF
##3F19651.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#372B3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1965;
/* rgb */ color: rgb(63, 25, 101);
/* oklch */ color: oklch(31.5% 0.126 302.5);
Tailwind
colors: {
  custom: {
    50: '#785991',
    500: '#3f1965',
    950: '#000000',
  },
}
SCSS
$custom: #3f1965;
$custom-light: #785991;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1965",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 270,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31492,
    "c": 0.12648,
    "h": 302.5
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#3F1965
secondary
#6D9B3F
accent
#E34494
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F1965

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

Preview Lab → · Contrast checker → · Palette generator →

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