#3F115A#3F115A

#3F115A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.124 H 309.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#3F115A
RGBrgb(63, 17, 90)
HSLhsl(278, 68%, 21%)
HSVhsv(278, 81%, 35%)
CMYKcmyk(30%, 81.1%, 0%, 64.7%)
CIE-LABlab(16.48, 35.27, -33.86)
CIE-LCHlch(16.48, 48.90, 316.17°)
OKLaboklab(29.59% 0.0788 -0.0961)
OKLCHoklch(29.59% 0.124 309.4)
XYZxyz(4.0954, 2.1959, 9.8790)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F115A #2C5A11
analogous
#1A115A #3F115A #5A1150
triadic
#3F115A #5A3F11 #115A3F
tetradic
#3F115A #5A1A11 #2C5A11 #11505A
square
#3F115A #5A1A11 #2C5A11 #11505A
split-complementary
#3F115A #505A11 #115A1A
monochromatic
#12051A #1B0727 #3F115A #631B8D #8724C1

Accessibility & contrast

On white

14.59
#3F115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F115A
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F115A#FFFFFF#000000##FFFFFF
##3F115A1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#3B2335
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f115a;
/* rgb */ color: rgb(63, 17, 90);
/* oklch */ color: oklch(29.6% 0.124 309.4);
Tailwind
colors: {
  custom: {
    50: '#775589',
    500: '#3f115a',
    950: '#000000',
  },
}
SCSS
$custom: #3f115a;
$custom-light: #775589;
$custom-dark: #000000;
JSON
{
  "hex": "#3f115a",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 277.808,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29586,
    "c": 0.12425,
    "h": 309.4
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#3F115A
secondary
#579334
accent
#EB3D7D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F115A

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

Preview Lab → · Contrast checker → · Palette generator →

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