#3F169E#3F169E

#3F169E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.194 H 285.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#3F169E
RGBrgb(63, 22, 158)
HSLhsl(258, 76%, 35%)
HSVhsv(258, 86%, 62%)
CMYKcmyk(60.1%, 86.1%, 0%, 38%)
CIE-LABlab(24.00, 51.26, -64.96)
CIE-LCHlch(24.00, 82.75, 308.28°)
OKLaboklab(36.85% 0.0519 -0.1872)
OKLCHoklch(36.85% 0.194 285.5)
XYZxyz(8.5065, 4.0987, 32.6840)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F169E #759E16
analogous
#16319E #3F169E #83169E
triadic
#3F169E #9E3F16 #169E3F
tetradic
#3F169E #9E1631 #759E16 #169E83
square
#3F169E #9E1631 #759E16 #169E83
split-complementary
#3F169E #9E8316 #319E16
monochromatic
#140733 #2A0F68 #3F169E #541DD4 #7849E6

Accessibility & contrast

On white

11.54
#3F169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3F169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F169E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F169E#FFFFFF#000000##FFFFFF
##3F169E1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#02425D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f169e;
/* rgb */ color: rgb(63, 22, 158);
/* oklch */ color: oklch(36.8% 0.194 285.5);
Tailwind
colors: {
  custom: {
    50: '#815cbc',
    500: '#3f169e',
    950: '#000000',
  },
}
SCSS
$custom: #3f169e;
$custom-light: #815cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f169e",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 258.088,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36848,
    "c": 0.19422,
    "h": 285.5
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#3F169E
secondary
#A1C749
accent
#F236B9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3F169E

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

Preview Lab → · Contrast checker → · Palette generator →

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