#231073#231073

#231073 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.153 H 279.4°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#231073
RGBrgb(35, 16, 115)
HSLhsl(252, 76%, 26%)
HSVhsv(252, 86%, 45%)
CMYKcmyk(69.6%, 86.1%, 0%, 54.9%)
CIE-LABlab(15.30, 38.58, -52.41)
CIE-LCHlch(15.30, 65.08, 306.36°)
OKLaboklab(28.73% 0.0251 -0.1513)
OKLCHoklch(28.73% 0.153 279.4)
XYZxyz(3.9719, 1.9654, 16.3864)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231073 #607310
analogous
#102E73 #231073 #541073
triadic
#231073 #732310 #107323
tetradic
#231073 #73102E #607310 #107354
square
#231073 #73102E #607310 #107354
split-complementary
#231073 #735410 #2E7310
monochromatic
#08041B #13093D #231073 #3317A9 #441FDE

Accessibility & contrast

On white

15.07
#231073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#231073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231073
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231073#FFFFFF#000000##FFFFFF
##2310731.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#002F43
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231073;
/* rgb */ color: rgb(35, 16, 115);
/* oklch */ color: oklch(28.7% 0.153 279.4);
Tailwind
colors: {
  custom: {
    50: '#6b539c',
    500: '#231073',
    950: '#000000',
  },
}
SCSS
$custom: #231073;
$custom-light: #6b539c;
$custom-dark: #000000;
JSON
{
  "hex": "#231073",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 251.515,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28733,
    "c": 0.15338,
    "h": 279.4
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#231073
secondary
#94AA34
accent
#F236CE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #231073

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

Preview Lab → · Contrast checker → · Palette generator →

#231073 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva