#33266F#33266F

#33266F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.0% C 0.121 H 285.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#33266F
RGBrgb(51, 38, 111)
HSLhsl(251, 49%, 29%)
HSVhsv(251, 66%, 44%)
CMYKcmyk(54.1%, 65.8%, 0%, 56.5%)
CIE-LABlab(20.97, 27.07, -40.46)
CIE-LCHlch(20.97, 48.68, 303.78°)
OKLaboklab(33.01% 0.033 -0.116)
OKLCHoklch(33.01% 0.121 285.9)
XYZxyz(4.9267, 3.2375, 15.4011)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33266F #626F26
analogous
#263E6F #33266F #58266F
triadic
#33266F #6F3326 #266F33
tetradic
#33266F #6F263E #626F26 #266F58
square
#33266F #6F263E #626F26 #266F58
split-complementary
#33266F #6F5826 #3E6F26
monochromatic
#0A0817 #1E1641 #33266F #48369D #624DC2

Accessibility & contrast

On white

12.75
#33266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#33266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33266F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33266F#FFFFFF#000000##FFFFFF
##33266F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#1C3846
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33266f;
/* rgb */ color: rgb(51, 38, 111);
/* oklch */ color: oklch(33.0% 0.121 285.9);
Tailwind
colors: {
  custom: {
    50: '#716199',
    500: '#33266f',
    950: '#000000',
  },
}
SCSS
$custom: #33266f;
$custom-light: #716199;
$custom-dark: #000000;
JSON
{
  "hex": "#33266f",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 250.685,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.1206,
    "h": 285.9
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#33266F
secondary
#93A24F
accent
#D94FC0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #33266F

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

Preview Lab → · Contrast checker → · Palette generator →

#33266F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva