#330738#330738

#330738 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.097 H 323.4°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#330738
RGBrgb(51, 7, 56)
HSLhsl(294, 78%, 12%)
HSVhsv(294, 88%, 22%)
CMYKcmyk(8.9%, 87.5%, 0%, 78%)
CIE-LABlab(10.12, 28.94, -20.60)
CIE-LCHlch(10.12, 35.52, 324.56°)
OKLaboklab(23.79% 0.0776 -0.0575)
OKLCHoklch(23.79% 0.097 323.4)
XYZxyz(2.1550, 1.1414, 3.8474)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330738 #0C3807
analogous
#1B0738 #330738 #380724
triadic
#330738 #383307 #073833
tetradic
#330738 #381B07 #0C3807 #072438
square
#330738 #381B07 #0C3807 #072438
split-complementary
#330738 #243807 #07381B
monochromatic
#19031B #19031B #330738 #650E6E #9615A5

Accessibility & contrast

On white

17.10
#330738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330738
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330738#FFFFFF#000000##FFFFFF
##3307381.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#0F1D37
Tritanopia (blue-blind)
#34101F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330738;
/* rgb */ color: rgb(51, 7, 56);
/* oklch */ color: oklch(23.8% 0.097 323.4);
Tailwind
colors: {
  custom: {
    50: '#6d4c6f',
    500: '#330738',
    950: '#000000',
  },
}
SCSS
$custom: #330738;
$custom-light: #6d4c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330738",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 293.878,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23788,
    "c": 0.09659,
    "h": 323.4
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#330738
secondary
#2C7823
accent
#F43447
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330738

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

Preview Lab → · Contrast checker → · Palette generator →

#330738 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva