#231175#231175

#231175 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.1% C 0.155 H 278.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#231175
RGBrgb(35, 17, 117)
HSLhsl(251, 75%, 26%)
HSVhsv(251, 85%, 46%)
CMYKcmyk(70.1%, 85.5%, 0%, 54.1%)
CIE-LABlab(15.71, 38.73, -53.04)
CIE-LCHlch(15.71, 65.67, 306.14°)
OKLaboklab(29.08% 0.0239 -0.1532)
OKLCHoklch(29.08% 0.155 278.9)
XYZxyz(4.1034, 2.0422, 17.0041)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231175 #637511
analogous
#113175 #231175 #551175
triadic
#231175 #752311 #117523
tetradic
#231175 #751131 #637511 #117555
square
#231175 #751131 #637511 #117555
split-complementary
#231175 #755511 #317511
monochromatic
#08041B #130940 #231175 #3319AA #4422DF

Accessibility & contrast

On white

14.91
#231175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231175
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231175#FFFFFF#000000##FFFFFF
##2311751.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231175;
/* rgb */ color: rgb(35, 17, 117);
/* oklch */ color: oklch(29.1% 0.155 278.9);
Tailwind
colors: {
  custom: {
    50: '#6c539e',
    500: '#231175',
    950: '#000000',
  },
}
SCSS
$custom: #231175;
$custom-light: #6c539e;
$custom-dark: #000000;
JSON
{
  "hex": "#231175",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 250.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29081,
    "c": 0.15502,
    "h": 278.9
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#231175
secondary
#97AC36
accent
#F137D0
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #231175

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

Preview Lab → · Contrast checker → · Palette generator →

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