#3F1065#3F1065

#3F1065 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.137 H 304.1°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#3F1065
RGBrgb(63, 16, 101)
HSLhsl(273, 73%, 23%)
HSVhsv(273, 84%, 40%)
CMYKcmyk(37.6%, 84.2%, 0%, 60.4%)
CIE-LABlab(17.31, 38.44, -39.84)
CIE-LCHlch(17.31, 55.36, 313.97°)
OKLaboklab(30.46% 0.0769 -0.1136)
OKLCHoklch(30.46% 0.137 304.1)
XYZxyz(4.5836, 2.3669, 12.5248)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1065 #366510
analogous
#141065 #3F1065 #651061
triadic
#3F1065 #653F10 #10653F
tetradic
#3F1065 #651410 #366510 #106165
square
#3F1065 #651410 #366510 #106165
split-complementary
#3F1065 #616510 #106514
monochromatic
#10041A #1E0830 #3F1065 #60189A #8121CF

Accessibility & contrast

On white

14.25
#3F1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1065
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1065#FFFFFF#000000##FFFFFF
##3F10651.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#37273B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1065;
/* rgb */ color: rgb(63, 16, 101);
/* oklch */ color: oklch(30.5% 0.137 304.1);
Tailwind
colors: {
  custom: {
    50: '#795592',
    500: '#3f1065',
    950: '#000000',
  },
}
SCSS
$custom: #3f1065;
$custom-light: #795592;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1065",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 273.176,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30465,
    "c": 0.13719,
    "h": 304.1
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#3F1065
secondary
#639D33
accent
#EF388A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1065

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

Preview Lab → · Contrast checker → · Palette generator →

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