#3F2094#3F2094

#3F2094 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.174 H 286.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#3F2094
RGBrgb(63, 32, 148)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 58%)
CMYKcmyk(57.4%, 78.4%, 0%, 42%)
CIE-LABlab(24.41, 44.12, -58.13)
CIE-LCHlch(24.41, 72.98, 307.20°)
OKLaboklab(36.82% 0.0493 -0.1674)
OKLCHoklch(36.82% 0.174 286.4)
XYZxyz(7.9101, 4.2275, 28.4104)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2094 #759420
analogous
#203B94 #3F2094 #792094
triadic
#3F2094 #943F20 #20943F
tetradic
#3F2094 #94203B #759420 #209479
square
#3F2094 #94203B #759420 #209479
split-complementary
#3F2094 #947920 #3B9420
monochromatic
#140A2F #2A1562 #3F2094 #542BC6 #7854DA

Accessibility & contrast

On white

11.38
#3F2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3F2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2094
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2094#FFFFFF#000000##FFFFFF
##3F20941.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#174159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2094;
/* rgb */ color: rgb(63, 32, 148);
/* oklch */ color: oklch(36.8% 0.174 286.4);
Tailwind
colors: {
  custom: {
    50: '#7e60b5',
    500: '#3f2094',
    950: '#000000',
  },
}
SCSS
$custom: #3f2094;
$custom-light: #7e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2094",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 256.034,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36818,
    "c": 0.17448,
    "h": 286.4
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#3F2094
secondary
#A1BE52
accent
#E740BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2094

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

Preview Lab → · Contrast checker → · Palette generator →

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