#30034E#30034E

#30034E is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.8% C 0.123 H 305.7°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#30034E
RGBrgb(48, 3, 78)
HSLhsl(276, 93%, 16%)
HSVhsv(276, 96%, 31%)
CMYKcmyk(38.5%, 96.2%, 0%, 69.4%)
CIE-LABlab(10.88, 35.32, -34.94)
CIE-LCHlch(10.88, 49.68, 315.31°)
OKLaboklab(24.82% 0.0716 -0.0997)
OKLCHoklch(24.82% 0.123 305.7)
XYZxyz(2.6263, 1.2436, 7.3079)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30034E #214E03
analogous
#0A034E #30034E #4E0346
triadic
#30034E #4E3003 #034E30
tetradic
#30034E #4E0A03 #214E03 #03464E
square
#30034E #4E0A03 #214E03 #03464E
split-complementary
#30034E #464E03 #034E0A
monochromatic
#12011D #12011D #30034E #540589 #7908C4

Accessibility & contrast

On white

16.82
#30034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#30034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30034E
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30034E#FFFFFF#000000##FFFFFF
##30034E1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#2A192B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #30034e;
/* rgb */ color: rgb(48, 3, 78);
/* oklch */ color: oklch(24.8% 0.123 305.7);
Tailwind
colors: {
  custom: {
    50: '#6d4b80',
    500: '#30034e',
    950: '#000000',
  },
}
SCSS
$custom: #30034e;
$custom-light: #6d4b80;
$custom-dark: #000000;
JSON
{
  "hex": "#30034e",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 276,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24817,
    "c": 0.12276,
    "h": 305.7
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#30034E
secondary
#4B8E1E
accent
#FF297E
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #30034E

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

Preview Lab → · Contrast checker → · Palette generator →

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