#3F2691#3F2691

#3F2691 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.164 H 286.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#3F2691
RGBrgb(63, 38, 145)
HSLhsl(254, 58%, 36%)
HSVhsv(254, 74%, 57%)
CMYKcmyk(56.6%, 73.8%, 0%, 43.1%)
CIE-LABlab(25.22, 40.09, -54.95)
CIE-LCHlch(25.22, 68.02, 306.12°)
OKLaboklab(37.3% 0.0454 -0.1581)
OKLCHoklch(37.3% 0.164 286)
XYZxyz(7.8523, 4.4869, 27.2349)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2691 #789126
analogous
#264291 #3F2691 #742691
triadic
#3F2691 #913F26 #26913F
tetradic
#3F2691 #912642 #789126 #269174
square
#3F2691 #912642 #789126 #269174
split-complementary
#3F2691 #917426 #429126
monochromatic
#150D30 #2A1961 #3F2691 #5433C1 #795DD5

Accessibility & contrast

On white

11.07
#3F2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2691
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2691#FFFFFF#000000##FFFFFF
##3F26911.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#1A4359
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2691;
/* rgb */ color: rgb(63, 38, 145);
/* oklch */ color: oklch(37.3% 0.164 286.0);
Tailwind
colors: {
  custom: {
    50: '#7d63b2',
    500: '#3f2691',
    950: '#000000',
  },
}
SCSS
$custom: #3f2691;
$custom-light: #7d63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2691",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 254.019,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37299,
    "c": 0.16449,
    "h": 286
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#3F2691
secondary
#A3BA59
accent
#E246BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3F2691

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

Preview Lab → · Contrast checker → · Palette generator →

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