#3B0F66#3B0F66

#3B0F66 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.138 H 300.8°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#3B0F66
RGBrgb(59, 15, 102)
HSLhsl(270, 74%, 23%)
HSVhsv(270, 85%, 40%)
CMYKcmyk(42.2%, 85.3%, 0%, 60%)
CIE-LABlab(16.65, 38.40, -41.59)
CIE-LCHlch(16.65, 56.61, 312.72°)
OKLaboklab(29.91% 0.0709 -0.1189)
OKLCHoklch(29.91% 0.138 300.8)
XYZxyz(4.3721, 2.2307, 12.7680)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F66 #3A660F
analogous
#100F66 #3B0F66 #660F65
triadic
#3B0F66 #663B0F #0F663B
tetradic
#3B0F66 #66100F #3A660F #0F6566
square
#3B0F66 #66100F #3A660F #0F6566
split-complementary
#3B0F66 #65660F #0F6610
monochromatic
#0F041B #1C0731 #3B0F66 #5A179B #791FD1

Accessibility & contrast

On white

14.52
#3B0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3B0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F66
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F66#FFFFFF#000000##FFFFFF
##3B0F661.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#31273B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3b0f66;
/* rgb */ color: rgb(59, 15, 102);
/* oklch */ color: oklch(29.9% 0.138 300.8);
Tailwind
colors: {
  custom: {
    50: '#765492',
    500: '#3b0f66',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f66;
$custom-light: #765492;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f66",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 270.345,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.13845,
    "h": 300.8
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#3B0F66
secondary
#689F32
accent
#F13793
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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