#30114F#30114F

#30114F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.107 H 302.3°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#30114F
RGBrgb(48, 17, 79)
HSLhsl(270, 65%, 19%)
HSVhsv(270, 78%, 31%)
CMYKcmyk(39.2%, 78.5%, 0%, 69%)
CIE-LABlab(13.19, 29.15, -31.85)
CIE-LCHlch(13.19, 43.17, 312.46°)
OKLaboklab(26.46% 0.0575 -0.0907)
OKLCHoklch(26.46% 0.107 302.3)
XYZxyz(2.8303, 1.5938, 7.5541)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30114F #304F11
analogous
#11114F #30114F #4F114F
triadic
#30114F #4F3011 #114F30
tetradic
#30114F #4F1111 #304F11 #114F4F
square
#30114F #4F1111 #304F11 #114F4F
split-complementary
#30114F #4F4F11 #114F11
monochromatic
#0F0519 #11061D #30114F #4F1C81 #6D27B4

Accessibility & contrast

On white

15.92
#30114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#30114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30114F
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30114F#FFFFFF#000000##FFFFFF
##30114F1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#2A202E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #30114f;
/* rgb */ color: rgb(48, 17, 79);
/* oklch */ color: oklch(26.5% 0.107 302.3);
Tailwind
colors: {
  custom: {
    50: '#6c5281',
    500: '#30114f',
    950: '#000000',
  },
}
SCSS
$custom: #30114f;
$custom-light: #6c5281;
$custom-dark: #000000;
JSON
{
  "hex": "#30114f",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 270,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26464,
    "c": 0.10741,
    "h": 302.3
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#30114F
secondary
#5E8833
accent
#E84094
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30114F

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

Preview Lab → · Contrast checker → · Palette generator →

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