#3F1365#3F1365

#3F1365 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.134 H 303.6°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#3F1365
RGBrgb(63, 19, 101)
HSLhsl(272, 68%, 24%)
HSVhsv(272, 81%, 40%)
CMYKcmyk(37.6%, 81.2%, 0%, 60.4%)
CIE-LABlab(17.75, 37.16, -39.12)
CIE-LCHlch(17.75, 53.96, 313.53°)
OKLaboklab(30.77% 0.0741 -0.1115)
OKLCHoklch(30.77% 0.134 303.6)
XYZxyz(4.6312, 2.4621, 12.5406)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1365 #396513
analogous
#161365 #3F1365 #651362
triadic
#3F1365 #653F13 #13653F
tetradic
#3F1365 #651613 #396513 #136265
square
#3F1365 #651613 #396513 #136265
split-complementary
#3F1365 #626513 #136516
monochromatic
#10051A #1F0931 #3F1365 #5F1D99 #7F26CC

Accessibility & contrast

On white

14.07
#3F1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1365
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1365#FFFFFF#000000##FFFFFF
##3F13651.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#37283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1365;
/* rgb */ color: rgb(63, 19, 101);
/* oklch */ color: oklch(30.8% 0.134 303.6);
Tailwind
colors: {
  custom: {
    50: '#785692',
    500: '#3f1365',
    950: '#000000',
  },
}
SCSS
$custom: #3f1365;
$custom-light: #785692;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1365",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 272.195,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30773,
    "c": 0.13393,
    "h": 303.6
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#3F1365
secondary
#669D37
accent
#EB3D8E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1365

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

Preview Lab → · Contrast checker → · Palette generator →

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