#33265E#33265E

#33265E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.6% C 0.096 H 290.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#33265E
RGBrgb(51, 38, 94)
HSLhsl(254, 42%, 26%)
HSVhsv(254, 60%, 37%)
CMYKcmyk(45.7%, 59.6%, 0%, 63.1%)
CIE-LABlab(19.63, 21.46, -31.52)
CIE-LCHlch(19.63, 38.14, 304.25°)
OKLaboklab(31.61% 0.0336 -0.0897)
OKLCHoklch(31.61% 0.096 290.6)
XYZxyz(4.0782, 2.8981, 10.9320)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33265E #515E26
analogous
#26355E #33265E #4F265E
triadic
#33265E #5E3326 #265E33
tetradic
#33265E #5E2635 #515E26 #265E4F
square
#33265E #5E2635 #515E26 #265E4F
split-complementary
#33265E #5E4F26 #355E26
monochromatic
#0C0916 #1B1432 #33265E #4B388A #6249B5

Accessibility & contrast

On white

13.29
#33265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#33265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33265E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33265E#FFFFFF#000000##FFFFFF
##33265E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083160
Deuteranopia (green-blind)
#0B2E5D
Tritanopia (blue-blind)
#27323E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33265e;
/* rgb */ color: rgb(51, 38, 94);
/* oklch */ color: oklch(31.6% 0.096 290.6);
Tailwind
colors: {
  custom: {
    50: '#6e608c',
    500: '#33265e',
    950: '#000000',
  },
}
SCSS
$custom: #33265e;
$custom-light: #6e608c;
$custom-dark: #000000;
JSON
{
  "hex": "#33265e",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 253.929,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31606,
    "c": 0.0958,
    "h": 290.6
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#33265E
secondary
#82914F
accent
#D256B5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #33265E

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

Preview Lab → · Contrast checker → · Palette generator →

#33265E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva