#3F1075#3F1075

#3F1075 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.154 H 297.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#3F1075
RGBrgb(63, 16, 117)
HSLhsl(268, 76%, 26%)
HSVhsv(268, 86%, 46%)
CMYKcmyk(46.2%, 86.3%, 0%, 54.1%)
CIE-LABlab(18.85, 42.54, -47.74)
CIE-LCHlch(18.85, 63.94, 311.70°)
OKLaboklab(32.01% 0.0714 -0.1368)
OKLCHoklch(32.01% 0.154 297.6)
XYZxyz(5.4452, 2.7116, 17.0627)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1075 #467510
analogous
#101375 #3F1075 #711075
triadic
#3F1075 #753F10 #10753F
tetradic
#3F1075 #751013 #467510 #107571
square
#3F1075 #751013 #467510 #107571
split-complementary
#3F1075 #757110 #137510
monochromatic
#0E041B #22093F #3F1075 #5C17AB #791FE0

Accessibility & contrast

On white

13.62
#3F1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1075
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1075#FFFFFF#000000##FFFFFF
##3F10751.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#312E44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1075;
/* rgb */ color: rgb(63, 16, 117);
/* oklch */ color: oklch(32.0% 0.154 297.6);
Tailwind
colors: {
  custom: {
    50: '#7b569e',
    500: '#3f1075',
    950: '#000000',
  },
}
SCSS
$custom: #3f1075;
$custom-light: #7b569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1075",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 267.921,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32009,
    "c": 0.15431,
    "h": 297.6
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#3F1075
secondary
#75AC35
accent
#F3359A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1075

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

Preview Lab → · Contrast checker → · Palette generator →

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