#4317EA#4317EA

#4317EA is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.9% C 0.273 H 276.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4317EA
RGBrgb(67, 23, 234)
HSLhsl(253, 83%, 50%)
HSVhsv(253, 90%, 92%)
CMYKcmyk(71.4%, 90.2%, 0%, 8.2%)
CIE-LABlab(33.45, 71.14, -94.01)
CIE-LCHlch(33.45, 117.89, 307.12°)
OKLaboklab(45.92% 0.0294 -0.2714)
OKLCHoklch(45.92% 0.273 276.2)
XYZxyz(17.4676, 7.7449, 78.4003)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4317EA #BEEA17
analogous
#1754EA #4317EA #AD17EA
triadic
#4317EA #EA4317 #17EA43
tetradic
#4317EA #EA1754 #BEEA17 #17EAAD
square
#4317EA #EA1754 #BEEA17 #17EAAD
split-complementary
#4317EA #EAAD17 #54EA17
monochromatic
#230B7B #3210B4 #4317EA #704FEF #9E87F4

Accessibility & contrast

On white

8.24
#4317EA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4317EA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4317EA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4317EA#FFFFFF#000000##FFFFFF
##4317EA1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057EF
Deuteranopia (green-blind)
#0046E7
Tritanopia (blue-blind)
#00638B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4317ea;
/* rgb */ color: rgb(67, 23, 234);
/* oklch */ color: oklch(45.9% 0.273 276.2);
Tailwind
colors: {
  custom: {
    50: '#9163f3',
    500: '#4317ea',
    950: '#000000',
  },
}
SCSS
$custom: #4317ea;
$custom-light: #9163f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4317ea",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 234
  },
  "hsl": {
    "h": 252.512,
    "s": 83.399,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.27301,
    "h": 276.2
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#4317EA
secondary
#CADD7F
accent
#FA2ECF
background
#FAF6FF
surface
#F4EBFE
border
#CEC6D6
text
#0F0617
muted
#7F7A85

Preview Lab

Preview with #4317EA

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

Preview Lab → · Contrast checker → · Palette generator →

#4317EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva