#3F23AA#3F23AA

#3F23AA is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.197 H 281.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3F23AA
RGBrgb(63, 35, 170)
HSLhsl(252, 66%, 40%)
HSVhsv(252, 79%, 67%)
CMYKcmyk(62.9%, 79.4%, 0%, 33.3%)
CIE-LABlab(27.19, 49.14, -66.96)
CIE-LCHlch(27.19, 83.06, 306.27°)
OKLaboklab(39.43% 0.0409 -0.1932)
OKLCHoklch(39.43% 0.197 281.9)
XYZxyz(9.9044, 5.1604, 38.4965)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23AA #8EAA23
analogous
#234BAA #3F23AA #8223AA
triadic
#3F23AA #AA3F23 #23AA3F
tetradic
#3F23AA #AA234B #8EAA23 #23AA82
square
#3F23AA #AA234B #8EAA23 #23AA82
split-complementary
#3F23AA #AA8223 #4BAA23
monochromatic
#190E44 #2C1977 #3F23AA #5635D5 #8168E0

Accessibility & contrast

On white

10.33
#3F23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3F23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23AA
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23AA#FFFFFF#000000##FFFFFF
##3F23AA1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f23aa;
/* rgb */ color: rgb(63, 35, 170);
/* oklch */ color: oklch(39.4% 0.197 281.9);
Tailwind
colors: {
  custom: {
    50: '#8263c5',
    500: '#3f23aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f23aa;
$custom-light: #8263c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23aa",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 252.444,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39435,
    "c": 0.19745,
    "h": 281.9
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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