#3F2263#3F2263

#3F2263 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.111 H 301.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#3F2263
RGBrgb(63, 34, 99)
HSLhsl(267, 49%, 26%)
HSVhsv(267, 66%, 39%)
CMYKcmyk(36.4%, 65.7%, 0%, 61.2%)
CIE-LABlab(20.45, 28.66, -33.43)
CIE-LCHlch(20.45, 44.03, 310.60°)
OKLaboklab(32.65% 0.057 -0.0949)
OKLCHoklch(32.65% 0.111 301)
XYZxyz(4.8735, 3.1016, 12.1439)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2263 #466322
analogous
#222563 #3F2263 #5F2263
triadic
#3F2263 #633F22 #22633F
tetradic
#3F2263 #632225 #466322 #22635F
square
#3F2263 #632225 #466322 #22635F
split-complementary
#3F2263 #635F22 #256322
monochromatic
#0E0817 #221235 #3F2263 #5C3291 #7941BE

Accessibility & contrast

On white

12.96
#3F2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3F2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2263
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2263#FFFFFF#000000##FFFFFF
##3F22631.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#0C3162
Tritanopia (blue-blind)
#38303F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f2263;
/* rgb */ color: rgb(63, 34, 99);
/* oklch */ color: oklch(32.7% 0.111 301.0);
Tailwind
colors: {
  custom: {
    50: '#775f90',
    500: '#3f2263',
    950: '#000000',
  },
}
SCSS
$custom: #3f2263;
$custom-light: #775f90;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2263",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 266.769,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32651,
    "c": 0.11069,
    "h": 301
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#3F2263
secondary
#75974A
accent
#D84F9B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F2263

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

Preview Lab → · Contrast checker → · Palette generator →

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