#332092#332092

#332092 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.174 H 280.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#332092
RGBrgb(51, 32, 146)
HSLhsl(250, 64%, 35%)
HSVhsv(250, 78%, 57%)
CMYKcmyk(65.1%, 78.1%, 0%, 42.7%)
CIE-LABlab(23.04, 41.99, -59.19)
CIE-LCHlch(23.04, 72.58, 305.35°)
OKLaboklab(35.51% 0.0315 -0.1708)
OKLCHoklch(35.51% 0.174 280.4)
XYZxyz(7.0684, 3.8116, 27.5518)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332092 #7F9220
analogous
#204692 #332092 #6C2092
triadic
#332092 #923320 #209233
tetradic
#332092 #922046 #7F9220 #20926C
square
#332092 #922046 #7F9220 #20926C
split-complementary
#332092 #926C20 #469220
monochromatic
#100A2E #211560 #332092 #452BC4 #6953D9

Accessibility & contrast

On white

11.92
#332092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#332092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332092
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332092#FFFFFF#000000##FFFFFF
##3320921.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #332092;
/* rgb */ color: rgb(51, 32, 146);
/* oklch */ color: oklch(35.5% 0.174 280.4);
Tailwind
colors: {
  custom: {
    50: '#785fb3',
    500: '#332092',
    950: '#000000',
  },
}
SCSS
$custom: #332092;
$custom-light: #785fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#332092",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 250,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35513,
    "c": 0.17372,
    "h": 280.4
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#332092
secondary
#ABBD51
accent
#E741CB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332092

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

Preview Lab → · Contrast checker → · Palette generator →

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