#3F1366#3F1366

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

Color values

HEX#3F1366
RGBrgb(63, 19, 102)
HSLhsl(272, 69%, 24%)
HSVhsv(272, 81%, 40%)
CMYKcmyk(38.2%, 81.4%, 0%, 60%)
CIE-LABlab(17.84, 37.42, -39.64)
CIE-LCHlch(17.84, 54.51, 313.35°)
OKLaboklab(30.86% 0.0739 -0.113)
OKLCHoklch(30.86% 0.135 303.2)
XYZxyz(4.6805, 2.4818, 12.8003)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1366 #3A6613
analogous
#151366 #3F1366 #661363
triadic
#3F1366 #663F13 #13663F
tetradic
#3F1366 #661513 #3A6613 #136366
square
#3F1366 #661513 #3A6613 #136366
split-complementary
#3F1366 #636613 #136615
monochromatic
#10051A #1F0932 #3F1366 #5F1D9A #7F26CD

Accessibility & contrast

On white

14.03
#3F1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1366
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1366#FFFFFF#000000##FFFFFF
##3F13661.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1366;
/* rgb */ color: rgb(63, 19, 102);
/* oklch */ color: oklch(30.9% 0.135 303.2);
Tailwind
colors: {
  custom: {
    50: '#795692',
    500: '#3f1366',
    950: '#000000',
  },
}
SCSS
$custom: #3f1366;
$custom-light: #795692;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1366",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 271.807,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30864,
    "c": 0.13504,
    "h": 303.2
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#3F1366
secondary
#679D37
accent
#EB3C8F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1366

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

Preview Lab → · Contrast checker → · Palette generator →

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