#30164B#30164B

#30164B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.095 H 303.1°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#30164B
RGBrgb(48, 22, 75)
HSLhsl(269, 55%, 19%)
HSVhsv(269, 71%, 29%)
CMYKcmyk(36%, 70.7%, 0%, 70.6%)
CIE-LABlab(13.89, 25.15, -27.97)
CIE-LCHlch(13.89, 37.62, 311.96°)
OKLaboklab(26.85% 0.0518 -0.0794)
OKLCHoklch(26.85% 0.095 303.1)
XYZxyz(2.7755, 1.7102, 6.8391)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30164B #314B16
analogous
#16174B #30164B #4B164B
triadic
#30164B #4B3016 #164B30
tetradic
#30164B #4B1617 #314B16 #164B4B
square
#30164B #4B1617 #314B16 #164B4B
split-complementary
#30164B #4B4B16 #174B16
monochromatic
#0F0718 #12081C #30164B #4E247A #6D32AA

Accessibility & contrast

On white

15.65
#30164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#30164B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30164B
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30164B#FFFFFF#000000##FFFFFF
##30164B1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#06234A
Tritanopia (blue-blind)
#2B212E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #30164b;
/* rgb */ color: rgb(48, 22, 75);
/* oklch */ color: oklch(26.9% 0.095 303.1);
Tailwind
colors: {
  custom: {
    50: '#6b557e',
    500: '#30164b',
    950: '#000000',
  },
}
SCSS
$custom: #30164b;
$custom-light: #6b557e;
$custom-dark: #000000;
JSON
{
  "hex": "#30164b",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 269.434,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26854,
    "c": 0.09475,
    "h": 303.1
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#30164B
secondary
#5F833A
accent
#DE4A95
background
#F6F5F7
surface
#EBE8EE
border
#C6C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30164B

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

Preview Lab → · Contrast checker → · Palette generator →

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