#30183F#30183F

#30183F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.075 H 310.7°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#30183F
RGBrgb(48, 24, 63)
HSLhsl(277, 45%, 17%)
HSVhsv(277, 62%, 25%)
CMYKcmyk(23.8%, 61.9%, 0%, 75.3%)
CIE-LABlab(13.48, 20.50, -20.27)
CIE-LCHlch(13.48, 28.83, 315.33°)
OKLaboklab(26.27% 0.0488 -0.0568)
OKLCHoklch(26.27% 0.075 310.7)
XYZxyz(2.4426, 1.6406, 4.8897)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30183F #273F18
analogous
#1D183F #30183F #3F183B
triadic
#30183F #3F3018 #183F30
tetradic
#30183F #3F1D18 #273F18 #183B3F
square
#30183F #3F1D18 #273F18 #183B3F
split-complementary
#30183F #3B3F18 #183F1D
monochromatic
#110816 #110816 #30183F #52296B #743A98

Accessibility & contrast

On white

15.81
#30183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30183F
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30183F#FFFFFF#000000##FFFFFF
##30183F1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2140
Deuteranopia (green-blind)
#15233E
Tritanopia (blue-blind)
#2E1F28
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #30183f;
/* rgb */ color: rgb(48, 24, 63);
/* oklch */ color: oklch(26.3% 0.075 310.7);
Tailwind
colors: {
  custom: {
    50: '#6a5674',
    500: '#30183f',
    950: '#000000',
  },
}
SCSS
$custom: #30183f;
$custom-light: #6a5674;
$custom-dark: #000000;
JSON
{
  "hex": "#30183f",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 276.923,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26272,
    "c": 0.07488,
    "h": 310.7
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#30183F
secondary
#53753D
accent
#D55385
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060308
muted
#7A787B

Preview Lab

Preview with #30183F

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

Preview Lab → · Contrast checker → · Palette generator →

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