#330F3D#330F3D

#330F3D is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.090 H 318.2°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#330F3D
RGBrgb(51, 15, 61)
HSLhsl(287, 61%, 15%)
HSVhsv(287, 75%, 24%)
CMYKcmyk(16.4%, 75.4%, 0%, 76.1%)
CIE-LABlab(11.84, 26.24, -21.43)
CIE-LCHlch(11.84, 33.88, 320.76°)
OKLaboklab(25.14% 0.067 -0.06)
OKLCHoklch(25.14% 0.09 318.2)
XYZxyz(2.3783, 1.3825, 4.5555)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F3D #193D0F
analogous
#1C0F3D #330F3D #3D0F30
triadic
#330F3D #3D330F #0F3D33
tetradic
#330F3D #3D1C0F #193D0F #0F303D
square
#330F3D #3D1C0F #193D0F #0F303D
split-complementary
#330F3D #303D0F #0F3D1C
monochromatic
#150619 #150619 #330F3D #5C1B6E #85279F

Accessibility & contrast

On white

16.45
#330F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#330F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F3D
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F3D#FFFFFF#000000##FFFFFF
##330F3D1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#11203C
Tritanopia (blue-blind)
#331724
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330f3d;
/* rgb */ color: rgb(51, 15, 61);
/* oklch */ color: oklch(25.1% 0.090 318.2);
Tailwind
colors: {
  custom: {
    50: '#6d5073',
    500: '#330f3d',
    950: '#000000',
  },
}
SCSS
$custom: #330f3d;
$custom-light: #6d5073;
$custom-dark: #000000;
JSON
{
  "hex": "#330f3d",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 286.957,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25138,
    "c": 0.08998,
    "h": 318.2
  },
  "luminance": 0.01382
}

Semantic roles & 50–950 ramp

primary
#330F3D
secondary
#407730
accent
#E44467
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #330F3D

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

Preview Lab → · Contrast checker → · Palette generator →

#330F3D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva