#231074#231074

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

Color values

HEX#231074
RGBrgb(35, 16, 116)
HSLhsl(251, 76%, 26%)
HSVhsv(251, 86%, 45%)
CMYKcmyk(69.8%, 86.2%, 0%, 54.5%)
CIE-LABlab(15.43, 38.89, -52.85)
CIE-LCHlch(15.43, 65.62, 306.34°)
OKLaboklab(28.85% 0.0247 -0.1526)
OKLCHoklch(28.85% 0.155 279.2)
XYZxyz(4.0298, 1.9885, 16.6911)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231074 #617410
analogous
#102F74 #231074 #551074
triadic
#231074 #742310 #107423
tetradic
#231074 #74102F #617410 #107455
square
#231074 #74102F #617410 #107455
split-complementary
#231074 #745510 #2F7410
monochromatic
#08041B #13093E #231074 #3317AA #431FE0

Accessibility & contrast

On white

15.02
#231074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231074
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231074#FFFFFF#000000##FFFFFF
##2310741.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231074;
/* rgb */ color: rgb(35, 16, 116);
/* oklch */ color: oklch(28.9% 0.155 279.2);
Tailwind
colors: {
  custom: {
    50: '#6c539d',
    500: '#231074',
    950: '#000000',
  },
}
SCSS
$custom: #231074;
$custom-light: #6c539d;
$custom-dark: #000000;
JSON
{
  "hex": "#231074",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 251.4,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28853,
    "c": 0.15461,
    "h": 279.2
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#231074
secondary
#95AB35
accent
#F235CE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #231074

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

Preview Lab → · Contrast checker → · Palette generator →

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