#30194F#30194F

#30194F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.095 H 299.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#30194F
RGBrgb(48, 25, 79)
HSLhsl(266, 52%, 20%)
HSVhsv(266, 68%, 31%)
CMYKcmyk(39.2%, 68.4%, 0%, 69%)
CIE-LABlab(14.89, 24.48, -29.10)
CIE-LCHlch(14.89, 38.03, 310.07°)
OKLaboklab(27.68% 0.0473 -0.0827)
OKLCHoklch(27.68% 0.095 299.8)
XYZxyz(2.9775, 1.8881, 7.6032)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30194F #384F19
analogous
#191D4F #30194F #4B194F
triadic
#30194F #4F3019 #194F30
tetradic
#30194F #4F191D #384F19 #194F4B
square
#30194F #4F191D #384F19 #194F4B
split-complementary
#30194F #4F4B19 #1D4F19
monochromatic
#0E0717 #140A21 #30194F #4C287D #6836AC

Accessibility & contrast

On white

15.24
#30194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#30194F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30194F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30194F#FFFFFF#000000##FFFFFF
##30194F1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#05254E
Tritanopia (blue-blind)
#292531
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #30194f;
/* rgb */ color: rgb(48, 25, 79);
/* oklch */ color: oklch(27.7% 0.095 299.8);
Tailwind
colors: {
  custom: {
    50: '#6b5781',
    500: '#30194f',
    950: '#000000',
  },
}
SCSS
$custom: #30194f;
$custom-light: #6b5781;
$custom-dark: #000000;
JSON
{
  "hex": "#30194f",
  "rgb": {
    "r": 48,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 265.556,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27682,
    "c": 0.09528,
    "h": 299.8
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#30194F
secondary
#67853E
accent
#DB4C9E
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30194F

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

Preview Lab → · Contrast checker → · Palette generator →

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