#33195F#33195F

#33195F is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.117 H 295.3°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#33195F
RGBrgb(51, 25, 95)
HSLhsl(262, 58%, 24%)
HSVhsv(262, 74%, 37%)
CMYKcmyk(46.3%, 73.7%, 0%, 62.7%)
CIE-LABlab(16.63, 30.00, -37.05)
CIE-LCHlch(16.63, 47.67, 309.00°)
OKLaboklab(29.45% 0.05 -0.1059)
OKLCHoklch(29.45% 0.117 295.3)
XYZxyz(3.7779, 2.2252, 11.0547)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33195F #455F19
analogous
#19225F #33195F #56195F
triadic
#33195F #5F3319 #195F33
tetradic
#33195F #5F1922 #455F19 #195F56
square
#33195F #5F1922 #455F19 #195F56
split-complementary
#33195F #5F5619 #225F19
monochromatic
#0D0618 #190C2F #33195F #4D268F #6732C0

Accessibility & contrast

On white

14.53
#33195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#33195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33195F
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33195F#FFFFFF#000000##FFFFFF
##33195F1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#272A3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #33195f;
/* rgb */ color: rgb(51, 25, 95);
/* oklch */ color: oklch(29.4% 0.117 295.3);
Tailwind
colors: {
  custom: {
    50: '#6f588d',
    500: '#33195f',
    950: '#000000',
  },
}
SCSS
$custom: #33195f;
$custom-light: #6f588d;
$custom-dark: #000000;
JSON
{
  "hex": "#33195f",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 262.286,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29447,
    "c": 0.11714,
    "h": 295.3
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#33195F
secondary
#75953F
accent
#E246A8
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33195F

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

Preview Lab → · Contrast checker → · Palette generator →

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