#330744#330744

#330744 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.109 H 314.1°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#330744
RGBrgb(51, 7, 68)
HSLhsl(283, 81%, 15%)
HSVhsv(283, 90%, 27%)
CMYKcmyk(25%, 89.7%, 0%, 73.3%)
CIE-LABlab(11.09, 31.63, -27.60)
CIE-LCHlch(11.09, 41.98, 318.90°)
OKLaboklab(24.78% 0.0756 -0.078)
OKLCHoklch(24.78% 0.109 314.1)
XYZxyz(2.4844, 1.2732, 5.5826)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330744 #184407
analogous
#150744 #330744 #440737
triadic
#330744 #443307 #074433
tetradic
#330744 #441507 #184407 #073744
square
#330744 #441507 #184407 #073744
split-complementary
#330744 #374407 #074415
monochromatic
#15031C #15031C #330744 #5D0D7B #8612B3

Accessibility & contrast

On white

16.74
#330744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#330744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330744
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330744#FFFFFF#000000##FFFFFF
##3307441.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#031F43
Tritanopia (blue-blind)
#311626
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330744;
/* rgb */ color: rgb(51, 7, 68);
/* oklch */ color: oklch(24.8% 0.109 314.1);
Tailwind
colors: {
  custom: {
    50: '#6e4d78',
    500: '#330744',
    950: '#000000',
  },
}
SCSS
$custom: #330744;
$custom-light: #6e4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#330744",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 283.279,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24779,
    "c": 0.10864,
    "h": 314.1
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#330744
secondary
#3E8324
accent
#F83068
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #330744

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

Preview Lab → · Contrast checker → · Palette generator →

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