#30195C#30195C

#30195C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.113 H 293.9°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#30195C
RGBrgb(48, 25, 92)
HSLhsl(261, 57%, 23%)
HSVhsv(261, 73%, 36%)
CMYKcmyk(47.8%, 72.8%, 0%, 63.9%)
CIE-LABlab(15.98, 28.45, -36.11)
CIE-LCHlch(15.98, 45.97, 308.23°)
OKLaboklab(28.82% 0.0457 -0.1033)
OKLCHoklch(28.82% 0.113 293.9)
XYZxyz(3.4978, 2.0962, 10.3435)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30195C #455C19
analogous
#19235C #30195C #51195C
triadic
#30195C #5C3019 #195C30
tetradic
#30195C #5C1923 #455C19 #195C51
square
#30195C #5C1923 #455C19 #195C51
split-complementary
#30195C #5C5119 #235C19
monochromatic
#0D0718 #170C2C #30195C #49268C #6233BC

Accessibility & contrast

On white

14.80
#30195C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#30195C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30195C
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30195C#FFFFFF#000000##FFFFFF
##30195C1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#242938
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #30195c;
/* rgb */ color: rgb(48, 25, 92);
/* oklch */ color: oklch(28.8% 0.113 293.9);
Tailwind
colors: {
  custom: {
    50: '#6d578b',
    500: '#30195c',
    950: '#000000',
  },
}
SCSS
$custom: #30195c;
$custom-light: #6d578b;
$custom-dark: #000000;
JSON
{
  "hex": "#30195c",
  "rgb": {
    "r": 48,
    "g": 25,
    "b": 92
  },
  "hsl": {
    "h": 260.597,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28817,
    "c": 0.11296,
    "h": 293.9
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#30195C
secondary
#76923F
accent
#E147AC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #30195C

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

Preview Lab → · Contrast checker → · Palette generator →

#30195C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva