#3F2383#3F2383

#3F2383 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.151 H 289.9°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#3F2383
RGBrgb(63, 35, 131)
HSLhsl(258, 58%, 33%)
HSVhsv(258, 73%, 51%)
CMYKcmyk(51.9%, 73.3%, 0%, 48.6%)
CIE-LABlab(23.33, 37.50, -49.31)
CIE-LCHlch(23.33, 61.95, 307.25°)
OKLaboklab(35.56% 0.0512 -0.1415)
OKLCHoklch(35.56% 0.151 289.9)
XYZxyz(6.7465, 3.8972, 21.8651)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2383 #678323
analogous
#233783 #3F2383 #6F2383
triadic
#3F2383 #833F23 #23833F
tetradic
#3F2383 #832337 #678323 #23836F
square
#3F2383 #832337 #678323 #23836F
split-complementary
#3F2383 #836F23 #378323
monochromatic
#110922 #281653 #3F2383 #5630B3 #7650D0

Accessibility & contrast

On white

11.80
#3F2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3F2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2383
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2383#FFFFFF#000000##FFFFFF
##3F23831.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#273C50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f2383;
/* rgb */ color: rgb(63, 35, 131);
/* oklch */ color: oklch(35.6% 0.151 289.9);
Tailwind
colors: {
  custom: {
    50: '#7b60a8',
    500: '#3f2383',
    950: '#000000',
  },
}
SCSS
$custom: #3f2383;
$custom-light: #7b60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2383",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 257.5,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35558,
    "c": 0.15053,
    "h": 289.9
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#3F2383
secondary
#96B44E
accent
#E147B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2383

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

Preview Lab → · Contrast checker → · Palette generator →

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