#3F0F62#3F0F62

#3F0F62 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.135 H 305.6°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3F0F62
RGBrgb(63, 15, 98)
HSLhsl(275, 73%, 22%)
HSVhsv(275, 85%, 38%)
CMYKcmyk(35.7%, 84.7%, 0%, 61.6%)
CIE-LABlab(16.89, 38.08, -38.53)
CIE-LCHlch(16.89, 54.17, 314.66°)
OKLaboklab(30.09% 0.0786 -0.1098)
OKLCHoklch(30.09% 0.135 305.6)
XYZxyz(4.4248, 2.2803, 11.7599)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F62 #32620F
analogous
#160F62 #3F0F62 #620F5C
triadic
#3F0F62 #623F0F #0F623F
tetradic
#3F0F62 #62160F #32620F #0F5C62
square
#3F0F62 #62160F #32620F #0F5C62
split-complementary
#3F0F62 #5C620F #0F6216
monochromatic
#11041B #1D072D #3F0F62 #611797 #831FCC

Accessibility & contrast

On white

14.42
#3F0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0F62
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F62#FFFFFF#000000##FFFFFF
##3F0F621.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#382539
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f0f62;
/* rgb */ color: rgb(63, 15, 98);
/* oklch */ color: oklch(30.1% 0.135 305.6);
Tailwind
colors: {
  custom: {
    50: '#78548f',
    500: '#3f0f62',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f62;
$custom-light: #78548f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f62",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 274.699,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30093,
    "c": 0.13502,
    "h": 305.6
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#3F0F62
secondary
#5E9B32
accent
#F03885
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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