#231071#231071

#231071 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.151 H 279.8°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#231071
RGBrgb(35, 16, 113)
HSLhsl(252, 75%, 25%)
HSVhsv(252, 86%, 44%)
CMYKcmyk(69%, 85.8%, 0%, 55.7%)
CIE-LABlab(15.06, 37.95, -51.52)
CIE-LCHlch(15.06, 63.99, 306.38°)
OKLaboklab(28.49% 0.0258 -0.1487)
OKLCHoklch(28.49% 0.151 279.8)
XYZxyz(3.8581, 1.9198, 15.7868)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231071 #5E7110
analogous
#102D71 #231071 #541071
triadic
#231071 #712310 #107123
tetradic
#231071 #71102D #5E7110 #107154
square
#231071 #71102D #5E7110 #107154
split-complementary
#231071 #715410 #2D7110
monochromatic
#08041B #12083B #231071 #3418A7 #441FDC

Accessibility & contrast

On white

15.17
#231071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231071
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231071#FFFFFF#000000##FFFFFF
##2310711.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231071;
/* rgb */ color: rgb(35, 16, 113);
/* oklch */ color: oklch(28.5% 0.151 279.8);
Tailwind
colors: {
  custom: {
    50: '#6b529b',
    500: '#231071',
    950: '#000000',
  },
}
SCSS
$custom: #231071;
$custom-light: #6b529b;
$custom-dark: #000000;
JSON
{
  "hex": "#231071",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 251.753,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28494,
    "c": 0.15095,
    "h": 279.8
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#231071
secondary
#92A934
accent
#F236CD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #231071

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

Preview Lab → · Contrast checker → · Palette generator →

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