#3F2378#3F2378

#3F2378 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.137 H 293.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#3F2378
RGBrgb(63, 35, 120)
HSLhsl(260, 55%, 30%)
HSVhsv(260, 71%, 47%)
CMYKcmyk(47.5%, 70.8%, 0%, 52.9%)
CIE-LABlab(22.35, 34.21, -43.93)
CIE-LCHlch(22.35, 55.68, 307.91°)
OKLaboklab(34.56% 0.0533 -0.1258)
OKLCHoklch(34.56% 0.137 293)
XYZxyz(6.0402, 3.6147, 18.1451)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2378 #5C7823
analogous
#233178 #3F2378 #6A2378
triadic
#3F2378 #783F23 #23783F
tetradic
#3F2378 #782331 #5C7823 #23786A
square
#3F2378 #782331 #5C7823 #23786A
split-complementary
#3F2378 #786A23 #317823
monochromatic
#0D0719 #261549 #3F2378 #5831A7 #754BCA

Accessibility & contrast

On white

12.19
#3F2378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3F2378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2378
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2378#FFFFFF#000000##FFFFFF
##3F23781.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#2E384A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f2378;
/* rgb */ color: rgb(63, 35, 120);
/* oklch */ color: oklch(34.6% 0.137 293.0);
Tailwind
colors: {
  custom: {
    50: '#7a60a0',
    500: '#3f2378',
    950: '#000000',
  },
}
SCSS
$custom: #3f2378;
$custom-light: #7a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2378",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 259.765,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3456,
    "c": 0.1366,
    "h": 293
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#3F2378
secondary
#8CAB4C
accent
#DE4AAD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #3F2378

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

Preview Lab → · Contrast checker → · Palette generator →

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