#30144F#30144F

#30144F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.103 H 301.5°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#30144F
RGBrgb(48, 20, 79)
HSLhsl(268, 60%, 19%)
HSVhsv(268, 75%, 31%)
CMYKcmyk(39.2%, 74.7%, 0%, 69%)
CIE-LABlab(13.79, 27.49, -30.88)
CIE-LCHlch(13.79, 41.34, 311.67°)
OKLaboklab(26.89% 0.0539 -0.0879)
OKLCHoklch(26.89% 0.103 301.5)
XYZxyz(2.8800, 1.6932, 7.5707)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30144F #334F14
analogous
#14154F #30144F #4E144F
triadic
#30144F #4F3014 #144F30
tetradic
#30144F #4F1415 #334F14 #144F4E
square
#30144F #4F1415 #334F14 #144F4E
split-complementary
#30144F #4F4E14 #154F14
monochromatic
#0F0618 #12081E #30144F #4E2080 #6B2DB1

Accessibility & contrast

On white

15.69
#30144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#30144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30144F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30144F#FFFFFF#000000##FFFFFF
##30144F1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#29222F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #30144f;
/* rgb */ color: rgb(48, 20, 79);
/* oklch */ color: oklch(26.9% 0.103 301.5);
Tailwind
colors: {
  custom: {
    50: '#6c5481',
    500: '#30144f',
    950: '#000000',
  },
}
SCSS
$custom: #30144f;
$custom-light: #6c5481;
$custom-dark: #000000;
JSON
{
  "hex": "#30144f",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 268.475,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26887,
    "c": 0.10311,
    "h": 301.5
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#30144F
secondary
#618738
accent
#E34598
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30144F

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

Preview Lab → · Contrast checker → · Palette generator →

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