#3F23AC#3F23AC

#3F23AC is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.200 H 281.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#3F23AC
RGBrgb(63, 35, 172)
HSLhsl(252, 66%, 41%)
HSVhsv(252, 80%, 67%)
CMYKcmyk(63.4%, 79.7%, 0%, 32.5%)
CIE-LABlab(27.40, 49.73, -67.82)
CIE-LCHlch(27.40, 84.09, 306.25°)
OKLaboklab(39.65% 0.0403 -0.1957)
OKLCHoklch(39.65% 0.2 281.6)
XYZxyz(10.0950, 5.2366, 39.5005)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23AC #90AC23
analogous
#234BAC #3F23AC #8323AC
triadic
#3F23AC #AC3F23 #23AC3F
tetradic
#3F23AC #AC234B #90AC23 #23AC83
square
#3F23AC #AC234B #90AC23 #23AC83
split-complementary
#3F23AC #AC8323 #4BAC23
monochromatic
#1A0E46 #2C1979 #3F23AC #5736D6 #8169E0

Accessibility & contrast

On white

10.26
#3F23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3F23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23AC
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23AC#FFFFFF#000000##FFFFFF
##3F23AC1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f23ac;
/* rgb */ color: rgb(63, 35, 172);
/* oklch */ color: oklch(39.6% 0.200 281.6);
Tailwind
colors: {
  custom: {
    50: '#8363c6',
    500: '#3f23ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f23ac;
$custom-light: #8363c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23ac",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 252.263,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39645,
    "c": 0.19976,
    "h": 281.6
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#3F23AC
secondary
#B2C664
accent
#E93FC6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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