#3F0F63#3F0F63

#3F0F63 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.136 H 305.1°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#3F0F63
RGBrgb(63, 15, 99)
HSLhsl(274, 74%, 22%)
HSVhsv(274, 85%, 39%)
CMYKcmyk(36.4%, 84.8%, 0%, 61.2%)
CIE-LABlab(16.99, 38.33, -39.04)
CIE-LCHlch(16.99, 54.72, 314.47°)
OKLaboklab(30.19% 0.0783 -0.1113)
OKLCHoklch(30.19% 0.136 305.1)
XYZxyz(4.4723, 2.2993, 12.0102)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F63 #33630F
analogous
#150F63 #3F0F63 #630F5D
triadic
#3F0F63 #633F0F #0F633F
tetradic
#3F0F63 #63150F #33630F #0F5D63
square
#3F0F63 #63150F #33630F #0F5D63
split-complementary
#3F0F63 #5D630F #0F6315
monochromatic
#11041B #1D072E #3F0F63 #611798 #831FCD

Accessibility & contrast

On white

14.39
#3F0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0F63
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F63#FFFFFF#000000##FFFFFF
##3F0F631.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#382639
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f0f63;
/* rgb */ color: rgb(63, 15, 99);
/* oklch */ color: oklch(30.2% 0.136 305.1);
Tailwind
colors: {
  custom: {
    50: '#795490',
    500: '#3f0f63',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f63;
$custom-light: #795490;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f63",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 274.286,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30185,
    "c": 0.13608,
    "h": 305.1
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#3F0F63
secondary
#5F9C32
accent
#F03787
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3F0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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