#230235#230235

#230235 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.095 H 310.0°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#230235
RGBrgb(35, 2, 53)
HSLhsl(279, 93%, 11%)
HSVhsv(279, 96%, 21%)
CMYKcmyk(34%, 96.2%, 0%, 79.2%)
CIE-LABlab(5.94, 26.73, -25.29)
CIE-LCHlch(5.94, 36.80, 316.58°)
OKLaboklab(20.01% 0.0613 -0.0729)
OKLCHoklch(20.01% 0.095 310)
XYZxyz(1.3573, 0.6578, 3.4229)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230235 #143502
analogous
#0A0235 #230235 #35022D
triadic
#230235 #352302 #023523
tetradic
#230235 #350A02 #143502 #022D35
square
#230235 #350A02 #143502 #022D35
split-complementary
#230235 #2D3502 #02350A
monochromatic
#13011D #13011D #230235 #4A0470 #7106AB

Accessibility & contrast

On white

18.56
#230235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#230235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230235
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230235#FFFFFF#000000##FFFFFF
##2302351.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#200E1C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #230235;
/* rgb */ color: rgb(35, 2, 53);
/* oklch */ color: oklch(20.0% 0.095 310.0);
Tailwind
colors: {
  custom: {
    50: '#61476d',
    500: '#230235',
    950: '#000000',
  },
}
SCSS
$custom: #230235;
$custom-light: #61476d;
$custom-dark: #000000;
JSON
{
  "hex": "#230235",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 278.824,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20012,
    "c": 0.09522,
    "h": 310
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#230235
secondary
#3B791A
accent
#FF2974
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #230235

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

Preview Lab → · Contrast checker → · Palette generator →

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