#30084B#30084B

#30084B is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.114 H 306.6°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#30084B
RGBrgb(48, 8, 75)
HSLhsl(276, 81%, 16%)
HSVhsv(276, 89%, 29%)
CMYKcmyk(36%, 89.3%, 0%, 70.6%)
CIE-LABlab(11.35, 32.31, -32.09)
CIE-LCHlch(11.35, 45.54, 315.19°)
OKLaboklab(25.05% 0.0678 -0.0914)
OKLCHoklch(25.05% 0.114 306.6)
XYZxyz(2.5755, 1.3101, 6.7724)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30084B #234B08
analogous
#0F084B #30084B #4B0845
triadic
#30084B #4B3008 #084B30
tetradic
#30084B #4B0F08 #234B08 #08454B
square
#30084B #4B0F08 #234B08 #08454B
split-complementary
#30084B #454B08 #084B0F
monochromatic
#12031C #12031C #30084B #530E82 #7714BA

Accessibility & contrast

On white

16.64
#30084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#30084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30084B
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30084B#FFFFFF#000000##FFFFFF
##30084B1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#001E4A
Tritanopia (blue-blind)
#2B1A2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #30084b;
/* rgb */ color: rgb(48, 8, 75);
/* oklch */ color: oklch(25.1% 0.114 306.6);
Tailwind
colors: {
  custom: {
    50: '#6c4d7e',
    500: '#30084b',
    950: '#000000',
  },
}
SCSS
$custom: #30084b;
$custom-light: #6c4d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#30084b",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 275.821,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25051,
    "c": 0.11379,
    "h": 306.6
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#30084B
secondary
#4E8926
accent
#F73181
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30084B

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

Preview Lab → · Contrast checker → · Palette generator →

#30084B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva