#3F1769#3F1769

#3F1769 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.134 H 301.1°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#3F1769
RGBrgb(63, 23, 105)
HSLhsl(269, 64%, 25%)
HSVhsv(269, 78%, 41%)
CMYKcmyk(40%, 78.1%, 0%, 58.8%)
CIE-LABlab(18.75, 36.36, -40.11)
CIE-LCHlch(18.75, 54.13, 312.19°)
OKLaboklab(31.59% 0.0692 -0.1145)
OKLCHoklch(31.59% 0.134 301.1)
XYZxyz(4.9055, 2.6894, 13.6225)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1769 #416917
analogous
#171869 #3F1769 #681769
triadic
#3F1769 #693F17 #17693F
tetradic
#3F1769 #691718 #416917 #176968
square
#3F1769 #691718 #416917 #176968
split-complementary
#3F1769 #696817 #186917
monochromatic
#0F0519 #210C37 #3F1769 #5D229B #7B2DCD

Accessibility & contrast

On white

13.66
#3F1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1769
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1769#FFFFFF#000000##FFFFFF
##3F17691.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#362C3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1769;
/* rgb */ color: rgb(63, 23, 105);
/* oklch */ color: oklch(31.6% 0.134 301.1);
Tailwind
colors: {
  custom: {
    50: '#795895',
    500: '#3f1769',
    950: '#000000',
  },
}
SCSS
$custom: #3f1769;
$custom-light: #795895;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1769",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 269.268,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31593,
    "c": 0.13373,
    "h": 301.1
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#3F1769
secondary
#6F9F3D
accent
#E74196
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F1769

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

Preview Lab → · Contrast checker → · Palette generator →

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