#4229AF#4229AF

#4229AF is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.197 H 281.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4229AF
RGBrgb(66, 41, 175)
HSLhsl(251, 62%, 42%)
HSVhsv(251, 77%, 69%)
CMYKcmyk(62.3%, 76.6%, 0%, 31.4%)
CIE-LABlab(29.00, 48.02, -66.96)
CIE-LCHlch(29.00, 82.40, 305.64°)
OKLaboklab(40.92% 0.0403 -0.1931)
OKLCHoklch(40.92% 0.197 281.8)
XYZxyz(10.7751, 5.8385, 41.1083)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229AF #96AF29
analogous
#2953AF #4229AF #8529AF
triadic
#4229AF #AF4229 #29AF42
tetradic
#4229AF #AF2953 #96AF29 #29AF85
square
#4229AF #AF2953 #96AF29 #29AF85
split-complementary
#4229AF #AF8529 #53AF29
monochromatic
#1D124C #2F1D7D #4229AF #5D42D3 #8874DE

Accessibility & contrast

On white

9.69
#4229AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4229AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229AF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229AF#FFFFFF#000000##FFFFFF
##4229AF1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4229af;
/* rgb */ color: rgb(66, 41, 175);
/* oklch */ color: oklch(40.9% 0.197 281.8);
Tailwind
colors: {
  custom: {
    50: '#8466c8',
    500: '#4229af',
    950: '#000000',
  },
}
SCSS
$custom: #4229af;
$custom-light: #8466c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4229af",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 251.194,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40923,
    "c": 0.1973,
    "h": 281.8
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#4229AF
secondary
#B5C66E
accent
#E543C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4229AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4229AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva