#3F23BD#3F23BD

#3F23BD is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.5% C 0.219 H 279.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3F23BD
RGBrgb(63, 35, 189)
HSLhsl(251, 69%, 44%)
HSVhsv(251, 81%, 74%)
CMYKcmyk(66.7%, 81.5%, 0%, 25.9%)
CIE-LABlab(29.24, 54.66, -74.90)
CIE-LCHlch(29.24, 92.73, 306.12°)
OKLaboklab(41.46% 0.0351 -0.2163)
OKLCHoklch(41.46% 0.219 279.2)
XYZxyz(11.8333, 5.9320, 48.6556)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23BD #A1BD23
analogous
#2354BD #3F23BD #8C23BD
triadic
#3F23BD #BD3F23 #23BD3F
tetradic
#3F23BD #BD2354 #A1BD23 #23BD8C
square
#3F23BD #BD2354 #A1BD23 #23BD8C
split-complementary
#3F23BD #BD8C23 #54BD23
monochromatic
#1D1056 #2E1989 #3F23BD #5D41DC #8975E5

Accessibility & contrast

On white

9.60
#3F23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23BD
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23BD#FFFFFF#000000##FFFFFF
##3F23BD1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f23bd;
/* rgb */ color: rgb(63, 35, 189);
/* oklch */ color: oklch(41.5% 0.219 279.2);
Tailwind
colors: {
  custom: {
    50: '#8664d2',
    500: '#3f23bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f23bd;
$custom-light: #8664d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23bd",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 250.909,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.21913,
    "h": 279.2
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#3F23BD
secondary
#BCCD6F
accent
#EC3CCC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #3F23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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