#3F1175#3F1175

#3F1175 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.153 H 297.4°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#3F1175
RGBrgb(63, 17, 117)
HSLhsl(268, 75%, 26%)
HSVhsv(268, 85%, 46%)
CMYKcmyk(46.2%, 85.5%, 0%, 54.1%)
CIE-LABlab(18.98, 42.16, -47.53)
CIE-LCHlch(18.98, 63.53, 311.57°)
OKLaboklab(32.1% 0.0707 -0.1362)
OKLCHoklch(32.1% 0.153 297.4)
XYZxyz(5.4604, 2.7419, 17.0677)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1175 #477511
analogous
#111575 #3F1175 #711175
triadic
#3F1175 #753F11 #11753F
tetradic
#3F1175 #751115 #477511 #117571
square
#3F1175 #751115 #477511 #117571
split-complementary
#3F1175 #757111 #157511
monochromatic
#0E041B #220940 #3F1175 #5C19AA #7922DF

Accessibility & contrast

On white

13.56
#3F1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3F1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1175
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1175#FFFFFF#000000##FFFFFF
##3F11751.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.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: #3f1175;
/* rgb */ color: rgb(63, 17, 117);
/* oklch */ color: oklch(32.1% 0.153 297.4);
Tailwind
colors: {
  custom: {
    50: '#7b569e',
    500: '#3f1175',
    950: '#000000',
  },
}
SCSS
$custom: #3f1175;
$custom-light: #7b569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1175",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 267.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32098,
    "c": 0.15343,
    "h": 297.4
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#3F1175
secondary
#76AC36
accent
#F1379B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1175

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

Preview Lab → · Contrast checker → · Palette generator →

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