#3F23B0#3F23B0

#3F23B0 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.1% C 0.204 H 281.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3F23B0
RGBrgb(63, 35, 176)
HSLhsl(252, 67%, 41%)
HSVhsv(252, 80%, 69%)
CMYKcmyk(64.2%, 80.1%, 0%, 31%)
CIE-LABlab(27.83, 50.90, -69.51)
CIE-LCHlch(27.83, 86.15, 306.21°)
OKLaboklab(40.07% 0.0391 -0.2006)
OKLCHoklch(40.07% 0.204 281)
XYZxyz(10.4849, 5.3926, 41.5542)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23B0 #94B023
analogous
#234EB0 #3F23B0 #8623B0
triadic
#3F23B0 #B03F23 #23B03F
tetradic
#3F23B0 #B0234E #94B023 #23B086
square
#3F23B0 #B0234E #94B023 #23B086
split-complementary
#3F23B0 #B08623 #4EB023
monochromatic
#1A0F4A #2D197D #3F23B0 #5839D8 #836CE2

Accessibility & contrast

On white

10.10
#3F23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23B0
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23B0#FFFFFF#000000##FFFFFF
##3F23B01.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f23b0;
/* rgb */ color: rgb(63, 35, 176);
/* oklch */ color: oklch(40.1% 0.204 281.0);
Tailwind
colors: {
  custom: {
    50: '#8363c9',
    500: '#3f23b0',
    950: '#000000',
  },
}
SCSS
$custom: #3f23b0;
$custom-light: #8363c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23b0",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 251.915,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.20437,
    "h": 281
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#3F23B0
secondary
#B5C867
accent
#EA3EC8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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