#231373#231373

#231373 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.151 H 279.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#231373
RGBrgb(35, 19, 115)
HSLhsl(250, 72%, 26%)
HSVhsv(250, 83%, 45%)
CMYKcmyk(69.6%, 83.5%, 0%, 54.9%)
CIE-LABlab(15.80, 37.12, -51.59)
CIE-LCHlch(15.80, 63.56, 305.74°)
OKLaboklab(29.08% 0.0236 -0.149)
OKLCHoklch(29.08% 0.151 279)
XYZxyz(4.0195, 2.0605, 16.4022)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231373 #637313
analogous
#133373 #231373 #531373
triadic
#231373 #732313 #137323
tetradic
#231373 #731333 #637313 #137353
square
#231373 #731333 #637313 #137353
split-complementary
#231373 #735313 #337313
monochromatic
#08041A #130A3E #231373 #331CA8 #4425DB

Accessibility & contrast

On white

14.87
#231373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#231373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231373
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231373#FFFFFF#000000##FFFFFF
##2313731.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231373;
/* rgb */ color: rgb(35, 19, 115);
/* oklch */ color: oklch(29.1% 0.151 279.0);
Tailwind
colors: {
  custom: {
    50: '#6b549c',
    500: '#231373',
    950: '#000000',
  },
}
SCSS
$custom: #231373;
$custom-light: #6b549c;
$custom-dark: #000000;
JSON
{
  "hex": "#231373",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 250,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29076,
    "c": 0.15084,
    "h": 279
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#231373
secondary
#97AA38
accent
#EE39D0
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231373

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

Preview Lab → · Contrast checker → · Palette generator →

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