#30133F#30133F

#30133F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.084 H 312.3°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#30133F
RGBrgb(48, 19, 63)
HSLhsl(280, 54%, 16%)
HSVhsv(280, 70%, 25%)
CMYKcmyk(23.8%, 69.8%, 0%, 75.3%)
CIE-LABlab(12.31, 23.63, -22.13)
CIE-LCHlch(12.31, 32.37, 316.87°)
OKLaboklab(25.42% 0.0567 -0.0622)
OKLCHoklch(25.42% 0.084 312.3)
XYZxyz(2.3488, 1.4531, 4.8584)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30133F #223F13
analogous
#1A133F #30133F #3F1338
triadic
#30133F #3F3013 #133F30
tetradic
#30133F #3F1A13 #223F13 #13383F
square
#30133F #3F1A13 #223F13 #13383F
split-complementary
#30133F #383F13 #133F1A
monochromatic
#120718 #120718 #30133F #54216E #782F9D

Accessibility & contrast

On white

16.27
#30133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#30133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30133F
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30133F#FFFFFF#000000##FFFFFF
##30133F1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041F40
Deuteranopia (green-blind)
#10213E
Tritanopia (blue-blind)
#2E1B26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #30133f;
/* rgb */ color: rgb(48, 19, 63);
/* oklch */ color: oklch(25.4% 0.084 312.3);
Tailwind
colors: {
  custom: {
    50: '#6a5274',
    500: '#30133f',
    950: '#000000',
  },
}
SCSS
$custom: #30133f;
$custom-light: #6a5274;
$custom-dark: #000000;
JSON
{
  "hex": "#30133f",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 279.545,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25417,
    "c": 0.08415,
    "h": 312.3
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#30133F
secondary
#4D7836
accent
#DD4B7D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #30133F

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

Preview Lab → · Contrast checker → · Palette generator →

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