#3F23AF#3F23AF

#3F23AF is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.0% C 0.203 H 281.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3F23AF
RGBrgb(63, 35, 175)
HSLhsl(252, 67%, 41%)
HSVhsv(252, 80%, 69%)
CMYKcmyk(64%, 80%, 0%, 31.4%)
CIE-LABlab(27.72, 50.60, -69.09)
CIE-LCHlch(27.72, 85.64, 306.22°)
OKLaboklab(39.96% 0.0394 -0.1994)
OKLCHoklch(39.96% 0.203 281.2)
XYZxyz(10.3864, 5.3532, 41.0351)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23AF #93AF23
analogous
#234DAF #3F23AF #8523AF
triadic
#3F23AF #AF3F23 #23AF3F
tetradic
#3F23AF #AF234D #93AF23 #23AF85
square
#3F23AF #AF234D #93AF23 #23AF85
split-complementary
#3F23AF #AF8523 #4DAF23
monochromatic
#1A0F49 #2D197C #3F23AF #5838D7 #836BE1

Accessibility & contrast

On white

10.14
#3F23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23AF
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23AF#FFFFFF#000000##FFFFFF
##3F23AF1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f23af;
/* rgb */ color: rgb(63, 35, 175);
/* oklch */ color: oklch(40.0% 0.203 281.2);
Tailwind
colors: {
  custom: {
    50: '#8363c8',
    500: '#3f23af',
    950: '#000000',
  },
}
SCSS
$custom: #3f23af;
$custom-light: #8363c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23af",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 252,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39962,
    "c": 0.20322,
    "h": 281.2
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#3F23AF
secondary
#B4C766
accent
#EA3EC7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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