#3F0F64#3F0F64

#3F0F64 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.137 H 304.7°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#3F0F64
RGBrgb(63, 15, 100)
HSLhsl(274, 74%, 23%)
HSVhsv(274, 85%, 39%)
CMYKcmyk(37%, 85%, 0%, 60.8%)
CIE-LABlab(17.08, 38.58, -39.56)
CIE-LCHlch(17.08, 55.26, 314.28°)
OKLaboklab(30.28% 0.078 -0.1128)
OKLCHoklch(30.28% 0.137 304.7)
XYZxyz(4.5204, 2.3185, 12.2635)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F64 #34640F
analogous
#140F64 #3F0F64 #640F5F
triadic
#3F0F64 #643F0F #0F643F
tetradic
#3F0F64 #64140F #34640F #0F5F64
square
#3F0F64 #64140F #34640F #0F5F64
split-complementary
#3F0F64 #5F640F #0F6414
monochromatic
#11041B #1D072F #3F0F64 #611799 #821FCE

Accessibility & contrast

On white

14.35
#3F0F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3F0F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F64
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F64#FFFFFF#000000##FFFFFF
##3F0F641.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#38263A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f0f64;
/* rgb */ color: rgb(63, 15, 100);
/* oklch */ color: oklch(30.3% 0.137 304.7);
Tailwind
colors: {
  custom: {
    50: '#795491',
    500: '#3f0f64',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f64;
$custom-light: #795491;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f64",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 100
  },
  "hsl": {
    "h": 273.882,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30277,
    "c": 0.13714,
    "h": 304.7
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#3F0F64
secondary
#609D32
accent
#F13788
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F0F64

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

Preview Lab → · Contrast checker → · Palette generator →

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