#3F2299#3F2299

#3F2299 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.178 H 285.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#3F2299
RGBrgb(63, 34, 153)
HSLhsl(255, 64%, 37%)
HSVhsv(255, 78%, 60%)
CMYKcmyk(58.8%, 77.8%, 0%, 40%)
CIE-LABlab(25.26, 44.60, -59.81)
CIE-LCHlch(25.26, 74.61, 306.71°)
OKLaboklab(37.57% 0.0465 -0.1723)
OKLCHoklch(37.57% 0.178 285.1)
XYZxyz(8.3699, 4.5002, 30.5584)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2299 #7C9922
analogous
#224199 #3F2299 #7B2299
triadic
#3F2299 #993F22 #22993F
tetradic
#3F2299 #992241 #7C9922 #22997B
square
#3F2299 #992241 #7C9922 #22997B
split-complementary
#3F2299 #997B22 #419922
monochromatic
#160C35 #2A1767 #3F2299 #542DCB #7A5BDB

Accessibility & contrast

On white

11.05
#3F2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2299
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2299#FFFFFF#000000##FFFFFF
##3F22991.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#0E445C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2299;
/* rgb */ color: rgb(63, 34, 153);
/* oklch */ color: oklch(37.6% 0.178 285.1);
Tailwind
colors: {
  custom: {
    50: '#7f61b8',
    500: '#3f2299',
    950: '#000000',
  },
}
SCSS
$custom: #3f2299;
$custom-light: #7f61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2299",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 254.622,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.17844,
    "h": 285.1
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#3F2299
secondary
#A6BF58
accent
#E741BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2299

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

Preview Lab → · Contrast checker → · Palette generator →

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