#3F23AE#3F23AE

#3F23AE is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.202 H 281.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3F23AE
RGBrgb(63, 35, 174)
HSLhsl(252, 67%, 41%)
HSVhsv(252, 80%, 68%)
CMYKcmyk(63.8%, 79.9%, 0%, 31.8%)
CIE-LABlab(27.61, 50.31, -68.67)
CIE-LCHlch(27.61, 85.12, 306.23°)
OKLaboklab(39.86% 0.0397 -0.1981)
OKLCHoklch(39.86% 0.202 281.3)
XYZxyz(10.2885, 5.3140, 40.5197)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23AE #92AE23
analogous
#234DAE #3F23AE #8423AE
triadic
#3F23AE #AE3F23 #23AE3F
tetradic
#3F23AE #AE234D #92AE23 #23AE84
square
#3F23AE #AE234D #92AE23 #23AE84
split-complementary
#3F23AE #AE8423 #4DAE23
monochromatic
#1A0F48 #2D197B #3F23AE #5737D7 #826AE1

Accessibility & contrast

On white

10.18
#3F23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3F23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23AE
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23AE#FFFFFF#000000##FFFFFF
##3F23AE1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f23ae;
/* rgb */ color: rgb(63, 35, 174);
/* oklch */ color: oklch(39.9% 0.202 281.3);
Tailwind
colors: {
  custom: {
    50: '#8363c7',
    500: '#3f23ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f23ae;
$custom-light: #8363c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23ae",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 252.086,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39856,
    "c": 0.20207,
    "h": 281.3
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#3F23AE
secondary
#B3C766
accent
#E93EC7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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