#3B0F6A#3B0F6A

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

Color values

HEX#3B0F6A
RGBrgb(59, 15, 106)
HSLhsl(269, 75%, 24%)
HSVhsv(269, 86%, 42%)
CMYKcmyk(44.3%, 85.8%, 0%, 58.4%)
CIE-LABlab(17.05, 39.44, -43.58)
CIE-LCHlch(17.05, 58.78, 312.15°)
OKLaboklab(30.3% 0.0696 -0.1247)
OKLCHoklch(30.3% 0.143 299.1)
XYZxyz(4.5753, 2.3120, 13.8381)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F6A #3E6A0F
analogous
#0F106A #3B0F6A #680F6A
triadic
#3B0F6A #6A3B0F #0F6A3B
tetradic
#3B0F6A #6A0F10 #3E6A0F #0F6A68
square
#3B0F6A #6A0F10 #3E6A0F #0F6A68
split-complementary
#3B0F6A #6A680F #106A0F
monochromatic
#0F041B #1D0734 #3B0F6A #5917A0 #771ED5

Accessibility & contrast

On white

14.36
#3B0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F6A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F6A#FFFFFF#000000##FFFFFF
##3B0F6A1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#2F293D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b0f6a;
/* rgb */ color: rgb(59, 15, 106);
/* oklch */ color: oklch(30.3% 0.143 299.1);
Tailwind
colors: {
  custom: {
    50: '#775495',
    500: '#3b0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f6a;
$custom-light: #775495;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f6a",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 269.011,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30303,
    "c": 0.14281,
    "h": 299.1
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#3B0F6A
secondary
#6CA232
accent
#F23697
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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