#30195A#30195A

#30195A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.6% C 0.110 H 294.7°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#30195A
RGBrgb(48, 25, 90)
HSLhsl(261, 57%, 23%)
HSVhsv(261, 72%, 35%)
CMYKcmyk(46.7%, 72.2%, 0%, 64.7%)
CIE-LABlab(15.81, 27.83, -35.06)
CIE-LCHlch(15.81, 44.76, 308.44°)
OKLaboklab(28.64% 0.046 -0.1002)
OKLCHoklch(28.64% 0.11 294.7)
XYZxyz(3.4115, 2.0617, 9.8891)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30195A #435A19
analogous
#19225A #30195A #51195A
triadic
#30195A #5A3019 #195A30
tetradic
#30195A #5A1922 #435A19 #195A51
square
#30195A #5A1922 #435A19 #195A51
split-complementary
#30195A #5A5119 #225A19
monochromatic
#0D0718 #160C2A #30195A #4A268A #6334BA

Accessibility & contrast

On white

14.87
#30195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#30195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30195A
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30195A#FFFFFF#000000##FFFFFF
##30195A1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#252937
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #30195a;
/* rgb */ color: rgb(48, 25, 90);
/* oklch */ color: oklch(28.6% 0.110 294.7);
Tailwind
colors: {
  custom: {
    50: '#6d5789',
    500: '#30195a',
    950: '#000000',
  },
}
SCSS
$custom: #30195a;
$custom-light: #6d5789;
$custom-dark: #000000;
JSON
{
  "hex": "#30195a",
  "rgb": {
    "r": 48,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 261.231,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28635,
    "c": 0.11028,
    "h": 294.7
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#30195A
secondary
#73903E
accent
#E048AA
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #30195A

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

Preview Lab → · Contrast checker → · Palette generator →

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