#3F1068#3F1068

#3F1068 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.140 H 302.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#3F1068
RGBrgb(63, 16, 104)
HSLhsl(272, 73%, 24%)
HSVhsv(272, 85%, 41%)
CMYKcmyk(39.4%, 84.6%, 0%, 59.2%)
CIE-LABlab(17.58, 39.20, -41.36)
CIE-LCHlch(17.58, 56.98, 313.46°)
OKLaboklab(30.75% 0.0759 -0.1181)
OKLCHoklch(30.75% 0.14 302.7)
XYZxyz(4.7333, 2.4268, 13.3131)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1068 #396810
analogous
#131068 #3F1068 #681065
triadic
#3F1068 #683F10 #10683F
tetradic
#3F1068 #681310 #396810 #106568
square
#3F1068 #681310 #396810 #106568
split-complementary
#3F1068 #656810 #106813
monochromatic
#10041B #1F0833 #3F1068 #5F189D #7F20D2

Accessibility & contrast

On white

14.14
#3F1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1068
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1068#FFFFFF#000000##FFFFFF
##3F10681.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#36283C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1068;
/* rgb */ color: rgb(63, 16, 104);
/* oklch */ color: oklch(30.7% 0.140 302.7);
Tailwind
colors: {
  custom: {
    50: '#795594',
    500: '#3f1068',
    950: '#000000',
  },
}
SCSS
$custom: #3f1068;
$custom-light: #795594;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1068",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 272.045,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30745,
    "c": 0.14039,
    "h": 302.7
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#3F1068
secondary
#66A034
accent
#F0388E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F1068

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

Preview Lab → · Contrast checker → · Palette generator →

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