#30134F#30134F

#30134F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.105 H 301.8°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#30134F
RGBrgb(48, 19, 79)
HSLhsl(269, 61%, 19%)
HSVhsv(269, 76%, 31%)
CMYKcmyk(39.2%, 75.9%, 0%, 69%)
CIE-LABlab(13.58, 28.05, -31.22)
CIE-LCHlch(13.58, 41.97, 311.95°)
OKLaboklab(26.74% 0.0551 -0.0889)
OKLCHoklch(26.74% 0.105 301.8)
XYZxyz(2.8627, 1.6586, 7.5649)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30134F #324F13
analogous
#13144F #30134F #4E134F
triadic
#30134F #4F3013 #134F30
tetradic
#30134F #4F1314 #324F13 #134F4E
square
#30134F #4F1314 #324F13 #134F4E
split-complementary
#30134F #4F4E13 #144F13
monochromatic
#0F0619 #12071E #30134F #4E1F80 #6C2BB2

Accessibility & contrast

On white

15.77
#30134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#30134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30134F
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30134F#FFFFFF#000000##FFFFFF
##30134F1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#29212F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #30134f;
/* rgb */ color: rgb(48, 19, 79);
/* oklch */ color: oklch(26.7% 0.105 301.8);
Tailwind
colors: {
  custom: {
    50: '#6c5381',
    500: '#30134f',
    950: '#000000',
  },
}
SCSS
$custom: #30134f;
$custom-light: #6c5381;
$custom-dark: #000000;
JSON
{
  "hex": "#30134f",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 269,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26742,
    "c": 0.10457,
    "h": 301.8
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#30134F
secondary
#608836
accent
#E44397
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30134F

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

Preview Lab → · Contrast checker → · Palette generator →

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