#3103DF#3103DF

#3103DF is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 42.6% C 0.272 H 272.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3103DF
RGBrgb(49, 3, 223)
HSLhsl(253, 97%, 44%)
HSVhsv(253, 99%, 87%)
CMYKcmyk(78%, 98.7%, 0%, 12.5%)
CIE-LABlab(29.52, 71.64, -94.28)
CIE-LCHlch(29.52, 118.41, 307.23°)
OKLaboklab(42.58% 0.0103 -0.2721)
OKLCHoklch(42.58% 0.272 272.2)
XYZxyz(14.6140, 6.0442, 70.1942)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3103DF #B1DF03
analogous
#0343DF #3103DF #9F03DF
triadic
#3103DF #DF3103 #03DF31
tetradic
#3103DF #DF0343 #B1DF03 #03DF9F
square
#3103DF #DF0343 #B1DF03 #03DF9F
split-complementary
#3103DF #DF9F03 #43DF03
monochromatic
#160166 #2402A3 #3103DF #5123FC #8060FD

Accessibility & contrast

On white

9.51
#3103DF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3103DF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3103DF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3103DF#FFFFFF#000000##FFFFFF
##3103DF1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FE4
Deuteranopia (green-blind)
#003BDC
Tritanopia (blue-blind)
#005C82
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3103df;
/* rgb */ color: rgb(49, 3, 223);
/* oklch */ color: oklch(42.6% 0.272 272.2);
Tailwind
colors: {
  custom: {
    50: '#8a5ceb',
    500: '#3103df',
    950: '#000000',
  },
}
SCSS
$custom: #3103df;
$custom-light: #8a5ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#3103df",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 223
  },
  "hsl": {
    "h": 252.545,
    "s": 97.345,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.27234,
    "h": 272.2
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#3103DF
secondary
#C5E05D
accent
#FF29D2
background
#F9F5FE
surface
#F2EAFD
border
#CCC6D5
text
#0E0516
muted
#7E7984

Preview Lab

Preview with #3103DF

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

Preview Lab → · Contrast checker → · Palette generator →

#3103DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva