#3F1A63#3F1A63

#3F1A63 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.123 H 303.1°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#3F1A63
RGBrgb(63, 26, 99)
HSLhsl(270, 58%, 25%)
HSVhsv(270, 74%, 39%)
CMYKcmyk(36.4%, 73.7%, 0%, 61.2%)
CIE-LABlab(18.78, 33.21, -36.12)
CIE-LCHlch(18.78, 49.07, 312.60°)
OKLaboklab(31.45% 0.0671 -0.1027)
OKLCHoklch(31.45% 0.123 303.1)
XYZxyz(4.6709, 2.6964, 12.0763)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1A63 #3E631A
analogous
#1B1A63 #3F1A63 #631A63
triadic
#3F1A63 #633F1A #1A633F
tetradic
#3F1A63 #631B1A #3E631A #1A6363
square
#3F1A63 #631B1A #3E631A #1A6363
split-complementary
#3F1A63 #63631A #1A631B
monochromatic
#0F0618 #200D33 #3F1A63 #5E2793 #7D33C4

Accessibility & contrast

On white

13.64
#3F1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1A63
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1A63#FFFFFF#000000##FFFFFF
##3F1A631.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#382B3C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1a63;
/* rgb */ color: rgb(63, 26, 99);
/* oklch */ color: oklch(31.5% 0.123 303.1);
Tailwind
colors: {
  custom: {
    50: '#785a90',
    500: '#3f1a63',
    950: '#000000',
  },
}
SCSS
$custom: #3f1a63;
$custom-light: #785a90;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1a63",
  "rgb": {
    "r": 63,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 270.411,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31454,
    "c": 0.12272,
    "h": 303.1
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#3F1A63
secondary
#6C9940
accent
#E24693
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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