#30143F#30143F

#30143F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.082 H 312.0°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#30143F
RGBrgb(48, 20, 63)
HSLhsl(279, 52%, 16%)
HSVhsv(279, 68%, 25%)
CMYKcmyk(23.8%, 68.3%, 0%, 75.3%)
CIE-LABlab(12.53, 23.02, -21.78)
CIE-LCHlch(12.53, 31.69, 316.59°)
OKLaboklab(25.58% 0.0552 -0.0612)
OKLCHoklch(25.58% 0.082 312)
XYZxyz(2.3661, 1.4876, 4.8642)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30143F #233F14
analogous
#1B143F #30143F #3F1439
triadic
#30143F #3F3014 #143F30
tetradic
#30143F #3F1B14 #233F14 #14393F
square
#30143F #3F1B14 #233F14 #14393F
split-complementary
#30143F #393F14 #143F1B
monochromatic
#120717 #120717 #30143F #53236D #77319C

Accessibility & contrast

On white

16.18
#30143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#30143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30143F
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30143F#FFFFFF#000000##FFFFFF
##30143F1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F40
Deuteranopia (green-blind)
#11213E
Tritanopia (blue-blind)
#2E1C27
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #30143f;
/* rgb */ color: rgb(48, 20, 63);
/* oklch */ color: oklch(25.6% 0.082 312.0);
Tailwind
colors: {
  custom: {
    50: '#6a5374',
    500: '#30143f',
    950: '#000000',
  },
}
SCSS
$custom: #30143f;
$custom-light: #6a5374;
$custom-dark: #000000;
JSON
{
  "hex": "#30143f",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 279.07,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25579,
    "c": 0.08237,
    "h": 312
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#30143F
secondary
#4E7738
accent
#DB4D7E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #30143F

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

Preview Lab → · Contrast checker → · Palette generator →

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