#3018A0#3018A0

#3018A0 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.198 H 277.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3018A0
RGBrgb(48, 24, 160)
HSLhsl(251, 74%, 36%)
HSVhsv(251, 85%, 63%)
CMYKcmyk(70%, 85%, 0%, 37.3%)
CIE-LABlab(23.06, 49.72, -67.76)
CIE-LCHlch(23.06, 84.05, 306.27°)
OKLaboklab(35.93% 0.0267 -0.1957)
OKLCHoklch(35.93% 0.198 277.8)
XYZxyz(7.8887, 3.8190, 33.5723)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3018A0 #88A018
analogous
#1844A0 #3018A0 #7418A0
triadic
#3018A0 #A03018 #18A030
tetradic
#3018A0 #A01844 #88A018 #18A074
square
#3018A0 #A01844 #88A018 #18A074
split-complementary
#3018A0 #A07418 #44A018
monochromatic
#100836 #20106B #3018A0 #4020D5 #694EE4

Accessibility & contrast

On white

11.90
#3018A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3018A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3018A0
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3018A0#FFFFFF#000000##FFFFFF
##3018A01.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3018a0;
/* rgb */ color: rgb(48, 24, 160);
/* oklch */ color: oklch(35.9% 0.198 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a5bbd',
    500: '#3018a0',
    950: '#000000',
  },
}
SCSS
$custom: #3018a0;
$custom-light: #7a5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3018a0",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 250.588,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3593,
    "c": 0.19754,
    "h": 277.8
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#3018A0
secondary
#B1C64D
accent
#F137D0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3018A0

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

Preview Lab → · Contrast checker → · Palette generator →

#3018A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva