#230236#230236

#230236 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.096 H 309.2°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#230236
RGBrgb(35, 2, 54)
HSLhsl(278, 93%, 11%)
HSVhsv(278, 96%, 21%)
CMYKcmyk(35.2%, 96.3%, 0%, 78.8%)
CIE-LABlab(6.03, 27.06, -25.89)
CIE-LCHlch(6.03, 37.45, 316.26°)
OKLaboklab(20.11% 0.0609 -0.0746)
OKLCHoklch(20.11% 0.096 309.2)
XYZxyz(1.3806, 0.6671, 3.5454)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230236 #153602
analogous
#090236 #230236 #36022F
triadic
#230236 #362302 #023623
tetradic
#230236 #360902 #153602 #022F36
square
#230236 #360902 #153602 #022F36
split-complementary
#230236 #2F3602 #023609
monochromatic
#13011E #13011E #230236 #490471 #6F06AC

Accessibility & contrast

On white

18.53
#230236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230236
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230236#FFFFFF#000000##FFFFFF
##2302361.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#200F1C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #230236;
/* rgb */ color: rgb(35, 2, 54);
/* oklch */ color: oklch(20.1% 0.096 309.2);
Tailwind
colors: {
  custom: {
    50: '#61476d',
    500: '#230236',
    950: '#000000',
  },
}
SCSS
$custom: #230236;
$custom-light: #61476d;
$custom-dark: #000000;
JSON
{
  "hex": "#230236",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 278.077,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20113,
    "c": 0.09627,
    "h": 309.2
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#230236
secondary
#3D7A1A
accent
#FF2977
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #230236

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

Preview Lab → · Contrast checker → · Palette generator →

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