#3F2883#3F2883

#3F2883 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.144 H 288.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#3F2883
RGBrgb(63, 40, 131)
HSLhsl(255, 53%, 34%)
HSVhsv(255, 69%, 51%)
CMYKcmyk(51.9%, 69.5%, 0%, 48.6%)
CIE-LABlab(24.36, 34.65, -47.62)
CIE-LCHlch(24.36, 58.89, 306.04°)
OKLaboklab(36.3% 0.0463 -0.1366)
OKLCHoklch(36.3% 0.144 288.7)
XYZxyz(6.9042, 4.2127, 21.9177)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2883 #6C8328
analogous
#283E83 #3F2883 #6C2883
triadic
#3F2883 #833F28 #28833F
tetradic
#3F2883 #83283E #6C8328 #28836C
square
#3F2883 #83283E #6C8328 #28836C
split-complementary
#3F2883 #836C28 #3E8328
monochromatic
#120B25 #281A54 #3F2883 #5636B2 #7659CC

Accessibility & contrast

On white

11.40
#3F2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3F2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2883
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2883#FFFFFF#000000##FFFFFF
##3F28831.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#273F52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2883;
/* rgb */ color: rgb(63, 40, 131);
/* oklch */ color: oklch(36.3% 0.144 288.7);
Tailwind
colors: {
  custom: {
    50: '#7b64a8',
    500: '#3f2883',
    950: '#000000',
  },
}
SCSS
$custom: #3f2883;
$custom-light: #7b64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2883",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 255.165,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.14423,
    "h": 288.7
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#3F2883
secondary
#9AB155
accent
#DD4BB8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3F2883

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

Preview Lab → · Contrast checker → · Palette generator →

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