#330A2F#330A2F

#330A2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.083 H 332.1°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#330A2F
RGBrgb(51, 10, 47)
HSLhsl(306, 67%, 12%)
HSVhsv(306, 80%, 20%)
CMYKcmyk(0%, 80.4%, 7.8%, 80%)
CIE-LABlab(10.00, 25.66, -14.21)
CIE-LCHlch(10.00, 29.33, 331.02°)
OKLaboklab(23.51% 0.0736 -0.039)
OKLCHoklch(23.51% 0.083 332.1)
XYZxyz(1.9869, 1.1263, 2.8015)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A2F #0A330E
analogous
#230A33 #330A2F #330A1B
triadic
#330A2F #2F330A #0A2F33
tetradic
#330A2F #33230A #0A330E #0A1B33
square
#330A2F #33230A #0A330E #0A1B33
split-complementary
#330A2F #1B330A #0A3323
monochromatic
#1A0518 #1A0518 #330A2F #66145E #991E8D

Accessibility & contrast

On white

17.14
#330A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A2F
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A2F#FFFFFF#000000##FFFFFF
##330A2F1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#161E2E
Tritanopia (blue-blind)
#360E1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330a2f;
/* rgb */ color: rgb(51, 10, 47);
/* oklch */ color: oklch(23.5% 0.083 332.1);
Tailwind
colors: {
  custom: {
    50: '#6d4d67',
    500: '#330a2f',
    950: '#000000',
  },
}
SCSS
$custom: #330a2f;
$custom-light: #6d4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#330a2f",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 305.854,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23506,
    "c": 0.08325,
    "h": 332.1
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#330A2F
secondary
#28702F
accent
#EA4F3E
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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